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 item ba...
Power Apps
Unanswered

Filter gallery item based on multiple combo boxes

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello Everyone,

 

I want to filter my gallery item based on multiple combo boxes.
This is my screen, and under which I have two combo boxes (CustomerName and Month) and a gallery

anshumanyadav_0-1624543968298.png

This is in the 'OnVisible' property of the screen

anshumanyadav_1-1624544021813.png

This is in the Items of the CustomerName combobox

anshumanyadav_2-1624544084078.png

 

and finally this is in the 'Items' of the Gallery

anshumanyadav_3-1624544151817.png

 

So basically, I have applied the filters based on Month Combo box
But the requirement is to have filters by both combo boxes


How can I achieve that?
Please help and provide me the syntax which I can paste in the 'Items' of the Gallery so that I can filter it using both the combo boxes.

Let me know if you need more information.

Thank You!

 

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @CNT @RandyHayes @WarrenBelz @Pstork1 Please help on above request!

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Anonymous you can add one more filter condition like,

    && theOtherColumn.Value=theOtherCombobox.Selected.Value

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi ,

    If you want to Filter on Two Items you need to setup your Filter function accordingly

    For example the code below would filter based on both statement 1 and statement 2 being true. 

    Filter(
     YourCollection,
     (Statement1 && Statment2)
    )

    If you want to filter on either Statement1 or Statement2 being true you would do something like this

    Filter(
     YourCollection,
     (Statement1 || Statment2)
    )

     

    You mention that you want to filter with multiple combo boxes. In this case you probably want to setup you combo boxes to cascade (where the value selected in ComboBox1 changes the Values in ComboBox2 - such as you want when one combo box selects the Category and the other selects the SubCategory). A description of how to do that can be here here

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard