Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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] )
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
76 | |
61 | |
37 | |
33 |
User | Count |
---|---|
99 | |
56 | |
50 | |
42 | |
40 |