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

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 II
Helper II

@One you are such a saviour

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.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

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 (4,608)