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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi
I have a simple data model with fact and dim tables as below
I create a table visual and the results are as expected
External Cost is this measure
Now when I change the measure to
Solved! Go to Solution.
@Richard_Halsall , The first one should work when sum is 0. Can you share output you want.
Try measures likes
M1= CALCULATE(
SUM(FactPOL[Total_Cost__c]),
DimPO[Supplier] <> "Power US"
)
PO Cost =
Switch(ISBLANK([M1]), blank() ,
[M1]=0, blank(), [M1] )
Or
PO Cost =
Switch(ISBLANK([M1]), blank() ,
[M1]=0, 0, [M1] )
@Richard_Halsall , The first one should work when sum is 0. Can you share output you want.
Try measures likes
M1= CALCULATE(
SUM(FactPOL[Total_Cost__c]),
DimPO[Supplier] <> "Power US"
)
PO Cost =
Switch(ISBLANK([M1]), blank() ,
[M1]=0, blank(), [M1] )
Or
PO Cost =
Switch(ISBLANK([M1]), blank() ,
[M1]=0, 0, [M1] )
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 57 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 109 | |
| 108 | |
| 40 | |
| 33 | |
| 26 |