Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
In the calculation I want it to display 0 if the result is 0 rather than blank
Supplier Performance Orig. Expected Percentage OnTime = CALCULATE('Purchase Lines'[Supplier Performance Orig. Expected Total OnTime] / ('Purchase Lines'[Supplier Performance Orig. Expected Total OnTime] + 'Purchase Lines'[Supplier Performance Orig. Expected Total Late] ) * 100)
Thanks
Solved! Go to Solution.
Hi @LewisH,
Please try this:
Supplier Performance Orig. Expected Percentage OnTime =
CALCULATE (
'Purchase Lines'[Supplier Performance Orig. Expected Total OnTime]
/ ( 'Purchase Lines'[Supplier Performance Orig. Expected Total OnTime]
+ 'Purchase Lines'[Supplier Performance Orig. Expected Total Late] )
* 100
)
+ 0
Best regards,
Yuliana Gu
Hi @LewisH,
Please try this:
Supplier Performance Orig. Expected Percentage OnTime =
CALCULATE (
'Purchase Lines'[Supplier Performance Orig. Expected Total OnTime]
/ ( 'Purchase Lines'[Supplier Performance Orig. Expected Total OnTime]
+ 'Purchase Lines'[Supplier Performance Orig. Expected Total Late] )
* 100
)
+ 0
Best regards,
Yuliana Gu
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 35 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 71 | |
| 67 | |
| 65 |