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

Gallery Items Disappear When Filtering

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a Gallery and a Dropdown set up as the Filter for the Gallery. If the user doesn't select anything from the Dropdown, no Filter will be applied to the Gallery whatsoever. But, the Gallery Items completely disappear when the user enters this screen. For some reason, they are required to select a filter from the dropdown, and then back to the default choice if they want to see the entire unfiltered gallery.

 

I'm currently using an SP list as data source. The formula I'm using to filter the gallery is the following:

 

Filter(Projects,Or(Filtros=Dropdown1.Selected.Value,Region=Dropdown1.Selected.Value))

 

And I have created an extra column on my SP list called "Filtros" which has the same value for every single item on the list.

 

 I had already been able to make this work on another app, and with multiple filters, but on the one I'm currently working on is being really stubborn.

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

    @Anonymous 

    Give this formula a try...

     

    Filter(Projects,
    If(!IsBlank(Dropdown1.Selected.Value), Filtros=Dropdown1.Selected.Value || Region=Dropdown1.Selected.Value, true)
    )

     

    This will check to see if anything is selected and then apply the comparisons.  Otherwise, it will just return everything.

     

    I hope this is helpful.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard