cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Power Apps
Power Apps

Re: Return items that do not have a blank value

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
Highlighted
Power Apps
Power Apps

Re: Return items that do not have a blank value

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

Highlighted
Anonymous
Not applicable

Re: Return items that do not have a blank value

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

Highlighted
Advocate I
Advocate I

Re: Return items that do not have a blank value

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?

Highlighted
Power Apps
Power Apps

Re: Return items that do not have a blank value

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,554)