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 / How to filter a galler...
Power Apps
Answered

How to filter a gallery with multiselect combobox

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I have a sharepoint list with a Choice-column called "Practice" it has 11 different choices. I wish to filter a gallery based on the choices, but I would like to use a combobox to choose different "Practices" and sometimes more than one:

 

FilterProblem1.JPG

 

 

I have found the IsMatch() function. However, I am experiencing some issues with the function. I can write the below formula:

Practice.Value = IsMatch(cbPracticeFilter.Selected.Value, "",Contains)

 

But ideally, what I want is to filter so that ALL the choosen from cbPracticeFilter (the combobox) should be matched towards the Practice.Value.

 

How do I do that? Is there another way to do this in an easier way?

 

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Try:

    Filter(Datasource, Practice in cbPracticeFilter.Selected.Practice)
     
    OR
    If(IsEmpty(cbPracticeFilter.SelectedItems),Datasource,
    Filter(Datasource, Practice in cbPracticeFilter.Selected.Practice))
     
    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
  • RickJ Profile Picture
    58 on at

    This works for a single selection in a combobox, but if multiselect is turned on and multiple are select it only returns results for the last selection, not all selections.

     

    Any further help, I figure it would need a ForAll or something to loop through all the selections of the combobox.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 426

#2
WarrenBelz Profile Picture

WarrenBelz 381 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard