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 / Show all items in a ga...
Power Apps
Answered

Show all items in a gallery after a filter via a DropDown

(0) ShareShare
ReportReport
Posted on by 64

I can filter my gallery when I select a dropdown (ddCategory) and I can see the items based on the category selects. 

Filter(Customers, Category.Value=ddCategory.Selected.Value) 

 

I have also set a variable called filterQuery to equal ddCategory.Selected.Value and used this instead

 

I created a button to reset the Gallery to show me all the items. 

However, I do now know how to reset the gallery to allow me to see all the items. I would have thought that onSelect I can just call the Gallery.ShowAll or something like this. 

 

Any help will be great. Thanks. 

 

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Unfortunately you did not show the variable. But assuming the variable  on the Button is:

       UpdateContext({MyAll:!MyAll})

     

    Change the Filter to:

    If(MyAll, Customers,

    Filter(Customers, Category.Value=ddCategory.Selected.Value))

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • MrClick Profile Picture
    64 on at

    Here is the thing... I am a stubborn soul. I always try to figure out things by myself. I spend countless hours figuring out how to do things. Alone the way, I learn other things that were not in my I-want-to-know. But after watching countless videos on YouTube just to do this and still cannot, I come here and ask. And here you are, with a few words you provide the answer. Than you very much. 

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 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard