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 / Filtering multi-choice...
Power Apps
Answered

Filtering multi-choice fields with a multi-choice combo box

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone

 

I've created an app pointing to a SharePoint list and on the home screen of this app I want to be able to filter a gallery of items.  One of the columns in the list is a multi-choice column and I want to filter on this column using a multi-choice combo box.  I can get this to work where the chouces match exactly for a record using the code below:

 

Filter('Clients',
Concat(comboInvolveArea.SelectedItems,Value&",") in
Concat('Involvement Areas',Value&",")
)

 

So with this if a client has involvement areas a, b and c and I filter on the combo box with a, b and c they will appear in the filtered list.  However, I want it to filter any clients that contain any of the choices in the combox box.  So for example, if I search for involvement areas a and c I want a client with a and b to show as well as someone who has b and c.  I've tried a few different approaches with adding a middle-main collection and using ForAll on the combo box choices but I can't seem to find a way of getting this to work.  I found a post here which gives an example of using ForAll to achieve what I want but when I do this nothing is returned when i filter the list.

 

Any assistance or pointers would be very welcome.  Thanks in advance for your help.

Categories:
  • Verified answer
    v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    You can try this formula:

    Filter(Clients, ID in Ungroup(ForAll(comboInvolveArea.SelectedItems,Filter(Clients,Value in 'Involvement Areas'.Value)),"Value").ID)

    See my test result:

    This is my list called "list10" with a multiple-choice column called "Choice2"(with selection: A ,B, C).

    v-albai-msft_0-1622166813685.png

     

    Here is the filter results when selecting "A and C"(only without item2):

    v-albai-msft_2-1622166905128.png

    Best regards,

    Allen

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 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard