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
Seward12533
Solution Sage
8 years agoSomething this this.
Pct of Total = DIVIDE([Measure]),CALCULATE([Measure],ALL(table[Category]))
Pct of Total = DIVIDE([Measure]),CALCULATE([Measure],ALL(table[Category]))