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

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (28,982)