Forum Discussion
Difference between two cards - with pic
- 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.
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]))
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?
- krypto69699 years agoHelper II
my data source is a cube so I think that is why I can't add a new measure?
If that is indeed correct, what can I do?
- parry2k9 years agoSuper User
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.