web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter Within a Collec...
Power Apps
Unanswered

Filter Within a Collection

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm trying to apply a filter to an existing collection in order to populate a new collection that I can then search within.  Currently I have:

 

ClearCollect(FilteredCustomerDataList, Filter(CustomerDataList, Customer=SelectedSalesCode, 'Distribution Channel'=DistChannel_Value.Selected/DistCode, Divsion=Division_Value.Selected.'Division Code'), CustomerDataList)

 

FilteredCustomerDataList = the New Collection I want to create based on the existing "CustomerDataList" which contains all master data.  I want it to filter by those criteria which are already selected in the APP.  It's not displaying an error, however while testing the results that are returned, the Filter is not working correctly because it's not filtering out the existing CustomerDataList by the Sales Code/Dist Channel/Divisions already selected on this form....

Categories:
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

     

    Please take a screen shot of the columns in CustomerDataList collection under File > Collections. It would be even better if you could include some example data. Do mask sensitive data before uploading.

     

    Please explain what are these parameters stand for:

    SelectedSalesCode

    'Distribution Channel'

    Divsion

    Division_Value

    /DistCode

    'Division Code'

     

    Especially, "/" symbol means Division (also see the Mod function). And why add '' for 'Distribution Channel'.

     

    Regards,

    Mona

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 350 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 318

#3
Mohsin Ali Profile Picture

Mohsin Ali 220

Last 30 days Overall leaderboard