Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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 zeros including all rows and ignoring the filters that were applied in the slicer. Anyone has con e across this or has a solution? Thanks
Solved! Go to Solution.
Hi, @Sagejah9
You can try the following methods.
Sample data:
Measure = SUM('Table'[Value])+0
Hope 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.
Hi, @Sagejah9
You can try the following methods.
Sample data:
Measure = SUM('Table'[Value])+0
Hope 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.
Hello 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/
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
101 | |
81 | |
79 | |
66 |
User | Count |
---|---|
122 | |
110 | |
94 | |
82 | |
77 |