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?
- 9 years ago
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.
Anonymous
9 years agoNot 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]))
- krypto69699 years agoHelper II
Thanks! Trying it now.
- krypto69699 years agoHelper II
I can't seem to make the 'new measure' button enabled.
- parry2k9 years agoSuper User
What is your data source?