Forum Discussion
harshadrokade
Post Partisan
4 years agoAdding % on clustered bar chart
Hi, I have clustered bar chart as below. I want to show % instead of number on this visual. If I use 'Show as %' option in values tab, it shows % of all blue & grey counts as a whole. I want to s...
- 4 years ago
Hi, harshadrokade
Please check the following methods.
Measure = VAR N1 = CALCULATE ( SUM ( 'Table'[Standard] ), FILTER ( ALL ( 'Table' ), [School] = MAX ( 'Table'[School] ) && [Skills] = MAX ( 'Table'[Skills] ) ) ) VAR N2 = CALCULATE ( SUM ( 'Table'[Standard] ), FILTER ( ALL ( 'Table' ), [School] = MAX ( 'Table'[School] ) ) ) RETURN DIVIDE ( N1, N2 )Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jaipal
Resolver III
4 years agoharshadrokade I am asuming you looking for the similar solution
Measure = COUNTA('Table'[Skill])/CALCULATE(COUNTA('Table'[School]), ALLSELECTED('Table'[Skill]))