Announcements
Hello,
Can anyone please help me how to write thje formual for filtering a gallery on a button click?
Thanks
Apaco
Well it depends on where you are getting your filter value to filter the gallery?
Hi @Apaco89 ,
Can you share a bit more about your issue ?
What do you want to filter the gallery base on ?
You can set items property of the gallery to a variable .
I made a test.
Set Items property of the gallery to :
Var1
Set Onselect property of the button to :
UpdateContext({var1:Filter(CustomGallerySample,SampleHeading="Lorem ipsum 1")})
Regards,
Eason
@v-sheyu-msft How do you set the Items property of the gallery?
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 1,027
Valantis 644
11manish 626