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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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()
)

marcorusso
Most Valuable Professional
Most Valuable Professional

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

marcorusso
Most Valuable Professional
Most Valuable Professional

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.