cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Filter on Gallery not including blank records

I have a text input filter on a gallery (Gallery2) and the Items property of the Gallery2 is set to allow the user to filter by number (text field). However, when the gallery loads, it automatically excludes any records where there is no data in the 'Game Number' field. How do I fix this so that it shows any and all records even if the Game Number doesn't contain data? 

 

Filter(Baseball, txtFilterBaseball.Text in 'Game Number')

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: Filter on Gallery not including blank records

Hi @saturation ,'

Try

Filter(
   Baseball, 
   txtFilterBaseball.Text in 'Game Number' ||
   IsBlank('Game Number')
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
Highlighted
Community Champion
Community Champion

Re: Filter on Gallery not including blank records

Hi @saturation ,'

Try

Filter(
   Baseball, 
   txtFilterBaseball.Text in 'Game Number' ||
   IsBlank('Game Number')
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Highlighted
Helper IV
Helper IV

Re: Filter on Gallery not including blank records

Thanks, Warren! Worked like a charm.

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (7,446)