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
Resolver III
Resolver III

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
Resolver III
Resolver III

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 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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,372)