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
HI Everyone,
I am stuck with one issue , I want to replace blank value with "-" and for that i am using below formula
__M Cost K$ =
var __MCostK = DIVIDE(CALCULATE(sum('Drivers'[Allocation]), 'Drivers'[Measurement] = "PH"), 1000)
RETURN
IF(NOT(ISBLANK(__MCostK )),__MCostK ,"-")
Facing this issue
Kindly help me to resolve this issue
Solved! Go to Solution.
Hi,
you can just simply change the formating of the new measure as below:
1-create new measure:
#,0.00;(#,0.00);"-"
Hi,
you can just simply change the formating of the new measure as below:
1-create new measure:
#,0.00;(#,0.00);"-"
Hi @nehamaru1985 -Can you modify the formulae as below:
__M Cost K$ =
VAR __MCostK = DIVIDE(CALCULATE(SUM('Drivers'[Allocation]), 'Drivers'[Measurement] = "PH"), 1000)
RETURN
IF(
NOT(ISBLANK(__MCostK)),
FORMAT(__MCostK, "0.00"), -- Formats the number as a string
"-"
)
Let me know if this works for you!
Proud to be a Super User! | |
Still facing same issue , Kidnly help
__MnS K$ =
var _MnSK = DIVIDE(CALCULATE(sum('Fact'[Allocation]), 'Fact'[Measurement] = "PH"), 1000)
RETURN
IF(NOT(ISBLANK(_MnSK)),FORMAT(_MnSK,"0.000"),"-")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |