Forum Discussion
DAX Comparison operators
- 5 years ago
DAX uses BLANK() for database nulls.
You can try above code it will resolve your issue and you can also refer below article.
https://docs.microsoft.com/en-us/dax/blank-function-dax
Can you try below code
Measures =
IF (
OR ( precreatedMeasure1 = BLANK (), precreatedmeasure2 = 0 ),
BLANK (),
SUM ( columndata )
)Hi Samarth_18 ,
I was going through
@https://youtu.be/C26DQkb4hy where in got to know Blank( ) and Null aren't same!
So do we have any possibilities to compare a value with null.
If we have such It would be really helpful.
- Samarth_185 years agoCommunity Champion
DAX uses BLANK() for database nulls.
You can try above code it will resolve your issue and you can also refer below article.
https://docs.microsoft.com/en-us/dax/blank-function-dax
- Sweetie5 years agoNew Member
Hi Samarth_18 ,
Thanks for your reply, I could understand now that Blank( ) and null aren't same but DAX treats them as same.
And yes, DAX COMPARISON OPERATORS works fine when comparing with Blank( ).