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 Gallery ...
Power Apps
Answered

How to filter Gallery view using three dropdown list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Everyone,

 

I currently have an app using a filter for two dropdowns from two lists and a text input with the following logic and it works how it should:

 

 

If(IsBlank(State.Selected) 
Or IsBlank(City.Selected),

Filter('dwv.Location',
 'Job Key' in 
 Filter(Search('dwv.Location', TextInput1_1.Text, "Job_Name"),
 'State' = 'State'.Selected.State_name).'Job Key' 
 Or'City' = City.Selected.'City_Name'),

Filter('dwv.Location',
 'Job Key' in 
 Filter(Search('dwv.Location', TextInput1_1.Text, "Job_Name"),
 'State' = 'State'.Selected.State_name).'Job Key' 
 And 'City' = City.Selected.'City_Name'))

 

 

However, I'm trying to add in a Zip code dropdown as well, but haven't been able to connect all three within the filter function so that if:

 

A) All dropdowns are blank, the app displays all data entries. 

B) Each individual dropdown can work both independently and together

 

Any help or ideas would be awesome!

 

Thanks,

Jacob

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    See if this comes close.  Replace the names of the columns and dropdowns with your values.

     

    With({schd: Search('dwv.Location', TextInput1_1.Text, "Job_Name")
     },
     Filter('Job Key' In schd.'Job Key',
     drp_City.Selected.Result = Blank() Or City = drp_City.Selected.Result,
     drp_State.Selected.Result = Blank() Or State = drp_State.Selected.Result, 
     drp_zip.Selected.Result=Blank() Or Zip = drp_zip.Selected.Result
     )
    )

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    What ended up working:

    With({schd: Search('dwv.Location', TextInput1_1.Text, "Job_Name")
     },
     Filter(dwv.Location,
     drp_City.Selected.Result = Blank() Or City = drp_City.Selected.Result,
     drp_State.Selected.Result = Blank() Or State = drp_State.Selected.Result, 
     drp_zip.Selected.Result=Blank() Or Zip = drp_zip.Selected.Result
     )
    )



    @Drrickrypthank you for your help!

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard