Forum Discussion
Sagejah9
Helper III
3 years agoReplacing blanks with zeros
Hi. I am trying to replace the blanks with zeros in a measure that's inside a filtered table. The measure is doing a count on rows. I used if(isblank(variable),0,variable) but filling in blanks with ...
- 3 years ago
Hi, Sagejah9
You can try the following methods.
Sample data:Measure = SUM('Table'[Value])+0Hope this method helps you.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1Daniel993
Helper III
3 years agoHello yo can use:
VAR ForceZero = Variable <= column && column<= Variable
VAR Amt = [Variable] + IF ( ForceZero, 0 )
For mor information you can read https://www.sqlbi.com/articles/how-to-return-0-instead-of-blank-in-dax/