Forum Discussion
fsfs
Helper I
5 years agoadding data labels to 100% stacked bar chart
hi I would like the bar to not only show % of total, but also the name of category next to it (very similar to detail labels in pie chart) how can I do that?
- 5 years ago
Hi, fsfs ;
You could add custom power bi visual as follows:
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
5 years agofsfs , You need to use a measure that % percent. If you want to show percent
Assume you have measure
Axis is using col1
then use measure
divide([measure], calculate([measure], filter(allselected(Table), Table[Col1] = max(Table[Col1]))))
if need use a stacked line and show measure
calculate([measure], filter(allselected(Table), Table[Col1] = max(Table[Col1])))
on that and show labels and change line color same as background color