Forum Discussion
krypto6969
9 years agoHelper II
Difference between two cards - with pic
Hi,
I am brand new to PowerBI. I have created a new report works fine but I have two cards that have two totals - sums.
How do I display the difference amounts in another card?
That is what I assumed and yes you cannot add a measure if your source is a cube. In this case, you need to add a calculated field in the cube for the difference and then use that to show as a card.
7 Replies
- AnonymousNot applicable
krypto6969 Create a measure. Right click on query name (table) add measure
I'm assuming those are fields, if so, it would look something like
Difference = CALCULATE(SUM('tablename'[PaymentPMPM]) - SUM('tablename'[AmountPaid]))
- krypto6969Helper II
Thanks! Trying it now.
- krypto6969Helper II
I can't seem to make the 'new measure' button enabled.