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 gallery with mu...
Power Apps
Suggested Answer

filter gallery with multi select combobox

(0) ShareShare
ReportReport
Posted on by 77
hi everyone,
 
This was the formula that I used to filter the gallery and it works fine. As you can see in the 2nd figure, when I select "Dog" in the CBX, the gallery is showing the expected results.
 
Figure 1
 
Figure 2
 
Now, I enable multi select on the CBX, and changed the formula as below, however it is only returning the first and last row, 2nd row has been skipped.
 
Can someone point me to the right direction please. Many thanks
 
 
Categories:
I have the same question (0)
  • Suggested answer
    AndrianaO Profile Picture
    213 Moderator on at
    Hi! Your formula is not working because you are checking if Animal is in cbx.Selected items, so "Dog;Cat" is neither in "Dog" nor in "Duck". 
     
    You can try this formula:
     
    Filter(AddColumns(colTest As outerTable, test, Sum(ForAll(cbx.SelectedItems As innerTable,innerTable.Animal in outerTable.Animal),Value)),test>0)
     
    Let me know if this works! 
  • ronaldwalcott Profile Picture
    3,862 Moderator on at
    What is the items type of the combo box?
  • nicklimcs Profile Picture
    77 on at
     
    Thank you. It is working fine.
     
     
  • AndrianaO Profile Picture
    213 Moderator on at
    @nicklimcs Happy to help! I would appreciate it if you verify my answer :)
  • nicklimcs Profile Picture
    77 on at
     
    I thought I did by checking this checkbox will mark it as "answered".  Is there another button for me to click on?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 556

#2
WarrenBelz Profile Picture

WarrenBelz 412 Most Valuable Professional

#3
Haque Profile Picture

Haque 296

Last 30 days Overall leaderboard