cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Filter gallery through checkboxes

Hi there,

 

I have an issue with a gallery in PowerApps. The gallery displays items filtered from a SharePoint list column calles "Current Approval Status". At the moment the gallery displays the list items of three (out of seven) of the possible status values. 

 

The code I am using to do this is:

 

Sort(Filter('IT Project Approval Request';'Current Approval Status'.Value="Approved by IT Manager" Or
'Current Approval Status'.Value="Ready for examination" Or 'Current Approval Status'.Value="Ready for final decision");ID;Descending

 

I now want to filter the gallery by using three different checkoxes, displaying the different approval status possibilities.

So one Checkbox sorts by "Approved by IT Manager", the other by "Ready for examination" etc. and if two checkboxes are selected the respective items should be displayed.

 

Does anyone have an idea how to do that?

 

Dorothee

11 REPLIES 11

Hi WarrenBelz,

Thank you for your help I was getting stuck on this. It does work but I'm getting a delegation error. Any Idea why this is happening?

HI @tvunguyen ,

Yes - If() statements in the middle of a Filter are not Delegable

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,202)