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 a gallery on ei...
Power Apps
Unanswered

Filter a gallery on either a text input or a dropdown

(0) ShareShare
ReportReport
Posted on by 97

Hello, 

 

I am working on building an app that has a gallery that I will would like to filter based on location (label13) (this is using the office 365 location) and then either by a dropdown or a text input. I would like to be able to filter the gallery by either the name, their status or if they have provided proof. 

 

I can get each one working separately but I can't seem to figure how to filter the gallery on all three options while filtering to the location. We have 19 locations and I want it that as soon as they sign into the app via AD the gallery will automatically filter to show only those who are at that location. Then from there they can filter gallery even further by either a name, status or if they have provided proof. 

 

If someone could please give me guidance that would be greatly apricated. I have googled and searched and tried many things and nothing seems to be working. 

 

My data is in a sharepoint list as well a collection. 

Categories:
  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @jjasper 

     

    All these are optional filters.

     

     

    With({sData:
     Filter(
     SPList,
     IsBlank(Status_Filter.SelectedItems.Value) || IsEmpty(Status_Filter.SelectedItems) || Status.Value= Status_Filter.Selected.Value,
     IsBlank(Location_Filter.SelectedItems.Value) || IsEmpty(Location_Filter.SelectedItems) || Location.Value= Location_Filter.Selected.Value,
     )
     },
     If(
     Not(IsBlank(txt_Name_Filter.Text)), Search(
     sData, txt_Name_Filter.Text,"Description"
     )
    	)
     )

     

     

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @jjasper

     

    Please let us know if anything needs on your post. We can help with this.

     

    "Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful. "

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

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard