Notifications
Announcements
I have three variables set for three different gallery filter scenarios. I want to apply the variables to the gallery but cannot figure it out. The variables work fine alone but I need to assign them to individual buttons and have them affect change to the gallery.
Hello @sfcmartint1985,
Might not be the best advise considering performance, but have you considered using the visible property to different galleries with the filters applied with the variables so that after selecting the button it will make visible the gallery and hide the others within same screen.
Hope this helps clarify the doubt, let me know in case you're still facing an issue within it.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
hey @sfcmartint1985
Can you share a bit more on your variables?
Consider this:
The button assigns you criteria to the variable using Set or UpdateContext and you filter the gallery with that variable. Why have three i am curious.
Example:
Button: OnSelect = UpdateContext({varSomething: ThisItem.id})
Gallery Filter: Items = Filter(colSomething, id = varSomething)
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 765 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 272