cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nithishguptak
Helper I
Helper I

Filter all values of a gallery

Hello all,

 

So I have been trying to filter a gallery based on textbox. So it works for other filters,, but I do I show all the rows if I select All ?powerapps1.PNGpowerapps2.PNG 

 

Thank you for your time

1 ACCEPTED SOLUTION

Accepted Solutions
One
Super User
Super User

Hello @nithishguptak ,

 

I am not sure if I am correctly understanding what you are looking for, but it looks like you want the gallery to default to showing all records if status doesn't equal StatusValue. in which case you will want something similar to the following:

If(!IsBlank(StatusValue),Filter('YourListName','ColumnName' = StatusValue), 'YourListName')

This will show records where StatusValue equals Status if StatusValue is not blank, otherwise it will show all the records.

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

Please click "Accept as Solution" if this post answered your question so that it is helpful for people having similar questions. If you found this post helpful smack that Thumbs up button !!! Thanks !!

View solution in original post

2 REPLIES 2
One
Super User
Super User

Hello @nithishguptak ,

 

I am not sure if I am correctly understanding what you are looking for, but it looks like you want the gallery to default to showing all records if status doesn't equal StatusValue. in which case you will want something similar to the following:

If(!IsBlank(StatusValue),Filter('YourListName','ColumnName' = StatusValue), 'YourListName')

This will show records where StatusValue equals Status if StatusValue is not blank, otherwise it will show all the records.

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

Please click "Accept as Solution" if this post answered your question so that it is helpful for people having similar questions. If you found this post helpful smack that Thumbs up button !!! Thanks !!

nithishguptak
Helper I
Helper I

@One you are such a saviour

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,361)