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 Platform Community / Forums / Power Apps / Filter gallery search ...
Power Apps
Answered

Filter gallery search results

(0) ShareShare
ReportReport
Posted on by 85

Hello,

 

I have an app connected to a sharepoint list. I would like to filter search results in a gallery based on a specific field being empty. I want to show ONLY search results that do not have a value in that field. I've tried numerous IF ISBLANK tutorials I've seen online but most are wanting the opposite outcome.

 

SortByColumns(Filter([@'Driver Check-In'], StartsWith('Driver Name', TextSearchBox1.Text)), "Title", If(SortDescending1, Descending, Ascending))

 

Thanks.

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @JPiercefield 

    Keep in mind that searching for Blanks is not delegable.  So, if your list exceeds record limits of your app, then data could be missing.

     

    However, you would put such a thing directly in your current formula:

    SortByColumns(
     Filter('Driver Check-In', 
     StartsWith('Driver Name', TextSearchBox1.Text) &&
     IsBlank(yourColumnOfInterest)
     ), 
     "Title", 
     If(SortDescending1, Descending, Ascending)
    )

     

    I hope this is helpful for you.

  • JPiercefield Profile Picture
    85 on at

    Phenomenal, I was severely overthinking this.

     

    Thank you!

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @JPiercefield 

    Number one rule in PowerApps - Keep It Super Simple!!  😁

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard