Announcements
I would like to filter a gallery using a toggle or check box to only show list items where a person column IsBlank.
I have never used toggles or check boxes before, just so you know where I'm coming from
Any suggestions?
Andy
Hello andyJDL,
You can find how to filter gallery content here: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/show-images-text-gallery-sort-filter
You can also use a toggle control to enable/disable filters. You can achieve this by adding an "IF" statement to the filter as shown here: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/show-images-text-gallery-sort-filter )
Thanks but I need more info than that.I'm wondering if Toggle filters don't work on Person/Group columns?
Will the Person in the gallery be bound to some Person's data? If so then let's assume that the gallery cell contains person't name (for example, Label1.Text = ThisItem.Person.Name). In this case your filter formula would look like this:Gallery1.Items = Filter(Gallery_Source_Name, If(Toggle1.Value = true, IsBlank(Person.Name), !IsBlank(Person.Name)))
where Gallery_Source_Name is your data source that should be bound to the Gallery.
Awesome! Thanks.
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 248 Super User 2026 Season 2
WarrenBelz 192 Most Valuable Professional
Mohsin Ali 135