Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Difference between blank and empty in advanced filtering

Hi everyone,

I'm seeing a new dropdown option in the advanced filtering of dimensions.

What's the difference between "blank" and "empty"?

 

Noeleke_0-1613464036251.png

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Kudo for your eagle eyes - this is a new setting in the service.  BLANK is the equivalent of null, while "empty"  is the equivalent of "" (an empty string). 

View solution in original post

7 REPLIES 7
WorkHard
Helper V
Helper V

Is this available in the desktop as well?
Edit. Updated to February build. It's in the desktop as well.

 

Nice.

lbendlin
Super User
Super User

Kudo for your eagle eyes - this is a new setting in the service.  BLANK is the equivalent of null, while "empty"  is the equivalent of "" (an empty string). 

So,

If field is NULL or EMPTY STRING, then ISEMPTY = 1

If field is EMPTY STRING, then ISBLANK = 0, and ISEMPTY = 1

Would you agree?

interesting...

lbendlin_0-1666125124564.pnglbendlin_1-1666125286431.png

 

So even though the value in Column 1 is BLANK() the table itself is not EMPTY.  

 

That means ISEMPTY() indicates that the filter column has no selectable values. My initial reply was incorrect.

I wasn't trying to call you out, I just can't quite figure out the rhyme/reason. When in doubt (which is usually), and when I have the opportunity, I just AND the ISEMPTY, ISBLANK. Sometimes I only get the ISEMPTY option, and then I go with that. Too lazy to dive into the documentation, but the PBI lingo is confusing (compared to say, SQL). 

ISBLANK() refers to scalar values (individual cells).  ISEMPTY() refers to tables.  In DAX "everything is a table" - some just happen to be single column single row tables.

Really.?. That's not a good paradigm, IMO. Why would they limit the product like that? As if scalar values have no utility. As in, y'know, linear algebra n'stuff. How interesting, and good to keep in mind. Interesting. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors