Forum Discussion
Chirag_Sidana
8 years agoFrequent Visitor
Clustered Column Chart - Showing Percentages Based on Legend
Hi, I have built a clustered column chart for the data below: The state acts as a filter for the chart. X-Axis is category and y-axis is Value. The lege...
- 8 years ago
Hi Chirag_Sidana,
Please new a measure:
percentage = SUM ( TB[Value] ) / CALCULATE ( SUM ( TB[Value] ), ALLEXCEPT ( TB, TB[State], TB[Data Source] ) )Best regards,
Yuliana Gu
v-yulgu-msft
Microsoft Employee
8 years agoHi Chirag_Sidana,
Please new a measure:
percentage =
SUM ( TB[Value] )
/ CALCULATE ( SUM ( TB[Value] ), ALLEXCEPT ( TB, TB[State], TB[Data Source] ) )
Best regards,
Yuliana Gu
Chirag_Sidana
8 years agoFrequent Visitor
Thank you! This is really helpful.
Regards,
Chirag