Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all
How can I visualize a value of 0% in a stacked bar chart ?
As seen below it´s only showing values above 0:
I tried a table but it obly showed values above 0 too:
The formula I used to calculate those % values is:
KPI Sludge =
VAR R1 =
CALCULATE(
COUNTROWS('Append (Sludge)'),
'Append (Sludge)'[Column]="IN")
VAR R2 =
CALCULATE(
COUNTROWS('Append (Sludge)'),
'Append (Sludge)'[Column]="OUT" || 'Append (Sludge)'[Column]="IN")
Return
DIVIDE(
R1,R2
)
Basically you divide total In by total In + total out
Thanks !!
Solved! Go to Solution.
Hi
I solved it. Added a +0 to the divide function:
Return
DIVIDE(
R1,R2
)+0
Regards!
Hi
I solved it. Added a +0 to the divide function:
Return
DIVIDE(
R1,R2
)+0
Regards!
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 |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |