Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Showing % of stacked bar

I have a stacked bar chart that shows ticket counts where the light blue (in attached pic) are the SLA violations. I have the total count at the top of the bar (show totals) but would like to ... somehow, as a data label I guess, show the percent of the light blue of the stacked bar at the bottom of each bar. Is that doable? 

 

Thank you!

Robssot.jpg

1 ACCEPTED SOLUTION
Syk
Super User
Super User

You can display the actual values by turning on the "Data Labels" in the visualization tab (see first screenshot as an example). If you need to show % of total you might want to use the 100% stacked bar chart (see second screenshot as example) or use a tooltip with the first option!

Syk_0-1646082421269.pngSyk_1-1646082444794.png

 

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

You can change this visual to the 100% stacked bar chart and it will show the percent of value.

In addition, you can also create measure expressions to calculate the percent of the grand total. Then you could use them to replace raw visual value fields to switch the chart display the percent values.

If you are confused about the code formula, please share some dummy data here with expected results to help us clarify your requirement and test coding formulas.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Syk
Super User
Super User

You can display the actual values by turning on the "Data Labels" in the visualization tab (see first screenshot as an example). If you need to show % of total you might want to use the 100% stacked bar chart (see second screenshot as example) or use a tooltip with the first option!

Syk_0-1646082421269.pngSyk_1-1646082444794.png

 

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.