Forum Discussion
tulsi
7 years agoHelper I
Pie Chart Percentage data Labels by category
Hi, My pie chart looks something like this. I have to show the comparison between the two dates and so the percentage lables should equal 100 for a particular date but here i'm getting ...
- 7 years ago
Hi tulsi,
Based on my test, you could refer to below steps:
Sample data:
Create below measure:
Measure = CALCULATE(SUM(Table1[Value]))/CALCULATE(SUM(Table1[Value]),FILTER(ALL('Table1'),'Table1'[Legend]=MAX('Table1'[Legend])))Result:
You could also download the pbix file to have a view.
Regards,
Daniel He
v-danhe-msft
7 years agoMicrosoft Employee
Hi tulsi,
Based on my test, you could refer to below steps:
Sample data:
Create below measure:
Measure = CALCULATE(SUM(Table1[Value]))/CALCULATE(SUM(Table1[Value]),FILTER(ALL('Table1'),'Table1'[Legend]=MAX('Table1'[Legend])))
Result:
You could also download the pbix file to have a view.
Regards,
Daniel He
- tulsi7 years agoHelper I
Thank you so much! It worked