Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register 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] )
Check out the May 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
74 | |
72 | |
71 | |
50 | |
45 |
User | Count |
---|---|
46 | |
38 | |
29 | |
28 | |
28 |