web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Boolean

(0) ShareShare
ReportReport
Posted on by 2,157

I have a gallery where the team want to search on a Boolean result of true or false.  I achieve this with no issue with a simple dropdown selection.  The dropdown has a blank at the top so in theory they can clear the search

 

My problem is I want the gallery to reset to show all fields if they do not select True or False.  It is ok when the open the app up,  but the moment they do a search it is now always filtered to either true or false.  Is there a way to reset this?

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,293 Most Valuable Professional on at

    HI @leyburn19 ,

    I have the same issue with blanks at the top of my drop-downs which are sorted collections starting with "" (empty string), so I do this in the Items of the Gallery 

    If(
     Len(
     MyDropdownName.Selected.xxxx
     )>0,
     Filter(
     MyDataSourceName,
     MyFieldName = MyDropdownName.Selected.xxxx
     ),
     MyDataSourceName
    )
     

     

    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.

     

  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @leyburn19 ,

     

    @WarrenBelz‘s solution should work. 

    If not, could you share the Dropdown item property and the Gallery Item property?

    Sik

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard