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] )
User | Count |
---|---|
85 | |
82 | |
66 | |
52 | |
48 |
User | Count |
---|---|
100 | |
49 | |
42 | |
39 | |
39 |