Forum Discussion
Conditional formatting is not displaying 0 correctly
- 3 years ago
Hi , ThomasSan
According to your description, you use the "+#%;-#%;0%" in the format of the measure , but it returns the "+%" in your visual , and you want to show the "0%" for it .
I test it in my side , it may be caused by the measure value is very small but it is a positive number,like this:
This is the "+#%;-#%;0%" judgement just have three conditions: Positive number, negative number and 0.
If you want to when the measure return value is very small you can add a logic in your measure to return 0:
Measure = IF(ABS( SUM('Table'[Column1]) ) < 0.01 ,0 , SUM('Table'[Column1]))Then we can get the value like this in the visual:
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi , ThomasSan
According to your description, you use the "+#%;-#%;0%" in the format of the measure , but it returns the "+%" in your visual , and you want to show the "0%" for it .
I test it in my side , it may be caused by the measure value is very small but it is a positive number,like this:
This is the "+#%;-#%;0%" judgement just have three conditions: Positive number, negative number and 0.
If you want to when the measure return value is very small you can add a logic in your measure to return 0:
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi! Yes, the problem appears for digits that are being rounded down. It is baffeling to me that when a value is being rounded down to a 0 value, the displayed value is not picking up the formatting for a 0 value.
However, your solution was helpful in displaying 0 values as desired! Thanks you