Forum Discussion
Anonymous
9 years agoNot applicable
Using constant Total from Linked table
Good morning, I'm stuck in a seemingly easy problem, illustrated below: I have two linked tables: I'm trying to calculate the % of TV and Cinema in a bar chart with a slicer for ...
- 9 years ago
Hi Anonymous,
Please modify your measure as below:
%Value = COUNTA ( 'Tab2'[Value] ) / CALCULATE ( SUM ( 'Tab1'[Count] ), ALLEXCEPT ( 'Tab1', Tab1[Country] ) )Best regards,
Yuliana Gu
v-yulgu-msft
9 years agoMicrosoft Employee
Hi Anonymous,
Please modify your measure as below:
%Value =
COUNTA ( 'Tab2'[Value] )
/ CALCULATE ( SUM ( 'Tab1'[Count] ), ALLEXCEPT ( 'Tab1', Tab1[Country] ) )
Best regards,
Yuliana Gu
Anonymous
9 years agoNot applicable
Thank you very much Yuliana!
Your solution did the trick (+ getting rid of a two-way relationship between my tabs!)
George.