Forum Discussion
Percentage Data Labels for Line and Stacked Column Chart
- 9 years ago
Hi Jayfemi,
If my understanding is right, you can create several measures using the formulas.NewCompleted = SUM(Data[Completed])/SUM(Data[Allocated]) NewFollow = SUM(Data[FollowOn])/SUM(Data[Allocated]) NewNoAccess = SUM(Data[NoAccess])/SUM(Data[Allocated]) NewNoAction = SUM(Data[NoAction])/SUM(Data[Allocated])
Add the measures as value levels, you will get the following result, please review and download the pbix file.
Best Regards,
Angelia
Hi Jayfemi,
Please create a measure using the formula below, and add the measure as value level.
Percentage=sum(Table[value])/CALCULATE(SUM(Table[value]),ALL(Table))
If this still does not resolve your issue, please share your sample table and list expected result.
Best Regards,
Angelia
Hi Angela,
I hope this finds you well, thank you very much for your time i really appreciate it. The fomula does solve one of my problems it is now but getting it to show up on the visual.
i used the formula as like this treating the Allocated as the total so on the visual instead of seeing the sum of completed jobs i'd like to see that as a percentage of the allocated jobs.
CJP Percentage = sum(Data[Completed])/CALCULATE(SUM(Data[Allocated]),ALl(Data))
- Jayfemi9 years agoHelper I
Hi Angela,
please see link cotaining my PBIX file and excel sheet that i am working from
- v-huizhn-msft9 years agoMicrosoft Employee
Hi Jayfemi,
If my understanding is right, you can create several measures using the formulas.NewCompleted = SUM(Data[Completed])/SUM(Data[Allocated]) NewFollow = SUM(Data[FollowOn])/SUM(Data[Allocated]) NewNoAccess = SUM(Data[NoAccess])/SUM(Data[Allocated]) NewNoAction = SUM(Data[NoAction])/SUM(Data[Allocated])
Add the measures as value levels, you will get the following result, please review and download the pbix file.
Best Regards,
Angelia- Jayfemi9 years agoHelper I
i believe this will work i am having trouble accessing the file you uploaded when i extract it i cant fine the pbix file.