cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Return items that do not have a blank value

On my default browse screen i am using the following formula, Filter(InstructorSignUpCal,IsBlank(Instructor)) which only shows items that do not have a instructor filled in that field. Its a people picker field. I want another browse screen to show items where the Instructor field is not blank. I tried using Filter(InstructorSignUpCal,If(IsBlank(Instructor),false)) but that doesnt work. It must be something small i am missing here. Any help would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
CarlosFigueira
Power Apps
Power Apps

Try using the Not function:

Filter(InstructorSignUpCal, Not(IsBlank(Instructor)))

Or you can also use the ! operator:

Filter(InstructorSignUpCal, !IsBlank(Instructor))

 

View solution in original post

4 REPLIES 4
CarlosFigueira
Power Apps
Power Apps

Try using the Not function:

Filter(InstructorSignUpCal, Not(IsBlank(Instructor)))

Or you can also use the ! operator:

Filter(InstructorSignUpCal, !IsBlank(Instructor))

 

View solution in original post

Anonymous
Not applicable

Awesome, thanks for the quick response! The "!" operator worked. 

I get a delegation warning when using the !IsBlank() function on a SQL Server data source. Is there a way to avoid such warning while being able to filter out (or in) NULL values?

You can use this workaround suggested by @Meneghino at https://baizini-it.com/blog/index.php/2017/09/28/powerapps-and-azure-sql-database-current-issues/ - instead of using

Filter(tableName, !IsBlank(Field))

You can use this:

Filter(tableName, Field <> Blank())

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (51,979)