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
LarBo
6 years agoFrequent Visitor
Hi TomMartens thank you for your answer, but what happens if red and blue values are not fixed, but ther are selected in two different selection box?
Is any option to do the same dinamically?
Thank you