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
lbendlin
Super User
Super User

value = BLANK() versus ISBLANK(value)

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Mystery solved. CONCATENATEX never returns blank. At the minimum it returns an empty string.  So there seems to be a bug in DAX that allows the comparison of an empty string to BLANK() to be true.

 

 

View solution in original post

7 REPLIES 7
lbendlin
Super User
Super User

Mystery solved. CONCATENATEX never returns blank. At the minimum it returns an empty string.  So there seems to be a bug in DAX that allows the comparison of an empty string to BLANK() to be true.

 

 

@marcorusso  I ran this in DAX studio.  Is there a good explanation for this?

 

evaluate row(
"Test1",ISBLANK(""),
"Test2",""=BLANK()
)

Thank you Marco.  Would be nice if the article could also mention the "=="  operator.

Good suggestion, I just added an example of == in that article. Thanks!

Hi @lbendlin ,

 

 

https://www.youtube.com/watch?v=C26DQkb4hyY

 

Have a look at this video. 

 

Regards,

Harsh Nathani

@harshnathani  Thank you. I am not ashamed to admit that I was not aware of the equality operator ("==") being available in DAX.  That makes more sense now.  Single equal sign does a type transformation.  Thanks again!

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.