Forum Discussion
Anonymous
4 years agoNot applicable
Getting blanks (null) to NOT test as zero
So it seems every search on this topic I am coming up with questions on making null values (blank cells) show as zero, but what I am looking for is exactly the opposite. But first, let me clarify: th...
- 4 years ago
Anonymous , Move the blank first and try
Switch( True() ,
isblank('Planning & Performance'[Defect Opportunities] ) , "Blank" ,
'Planning & Performance'[Defect Opportunities] = 0, "Zero",
"OK")
mindileigh3
3 years agoNew Member
I had the same issue as Anonymous. I could not, however, resolve it with changing blank() to "" because I do not own the original measures. I was able to resolve it with using "if(not(isblank([measure_name])), ...)" instead of "if(isblank([measure_name]), ....". Strange.
More info here: https://community.powerbi.com/t5/Desktop/DAX-measure-IF-a-value-is-not-blank/m-p/677117