Forum Discussion
value = BLANK() versus ISBLANK(value)
- 6 years ago
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.
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()
)
- marcorusso6 years ago
Most Valuable Professional
- lbendlin6 years ago
Super User
Thank you Marco. Would be nice if the article could also mention the "==" operator.
- marcorusso6 years ago
Most Valuable Professional
Good suggestion, I just added an example of == in that article. Thanks!
- Anonymous6 years agoNot applicable
Hi lbendlin ,
https://www.youtube.com/watch?v=C26DQkb4hyY
Have a look at this video.
Regards,
Harsh Nathani
- lbendlin6 years ago
Super User
Anonymous 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!