Forum Discussion
chrisgehm
8 years agoHelper III
Operate with 2 cards
Hi everyone! I'm having troubles while operating with 2 cards. Both of them have filters and I have a numer from each card. Is there any way to make arithmetic operations between both cards?...
- 8 years ago
Hey,
try this
the measure = DIVIDE( CALCULATE( ,COUNTROWS('yourtable') ,'yourtable'[colorcolumn] = "red" ) ,CALCULATE( ,COUNTROWS('yourtable') ,'yourtable'[colorcolumn] = "blue" ) )Regards
Tom
TomMartens
8 years agoSuper User
Hey,
try this
the measure =
DIVIDE(
CALCULATE(
,COUNTROWS('yourtable')
,'yourtable'[colorcolumn] = "red"
)
,CALCULATE(
,COUNTROWS('yourtable')
,'yourtable'[colorcolumn] = "blue"
)
)Regards
Tom
bull123456789
6 years agoFrequent Visitor
Hi Tom
Thanks for this. I've spent too long trying to get this result until I found your messaure!
One thing, for me the mesaure only worked when I took out the commas (in Red below):
the measure =
DIVIDE(
CALCULATE(
,COUNTROWS('Table20')
,'Table20'[Status Fixed] = "Disengaged"
)
,CALCULATE(
COUNTROWS('Schedule20')
,'Table20'[Status Fixed] <> BLANK()
)
)*100
Any thoughts why this might be?
Thanks
Duncan