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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
acg
Resolver I
Resolver I

Absolute numbers and Percentage required on stacked bar chart

 

Here is a stacked bar chart looking at the Quality Assessment made in an insurance sector. 

A 100% stacked bar chart is used to create the Percentage of the distribution of the three assessment options made across years.

What I need is both, the absolute numbers and the percentages for each cathegory. 

 

I know that it is possible to use the line and stacked bar chart to create both, as the line can be presented as percentage. But that would only show the total percentage, not the percentage of all the different cathegories across the years. 

I did use tooltips, but it is not really effective:

acg_1-1651566623087.png

Is it possible to show  the '3 (42.86%)'  directly on the barchart? It is posible in xls, so I am surprised, I have not found  solution as of yet in Power Bi. 

Help is much appreaciated. 

 

 

acg_0-1651565605405.png

 

1 ACCEPTED SOLUTION
SpartaBI
Community Champion
Community Champion

@acg yes, with Calculation Groups and their conditional format string capabilty.
It's not something for a quick answer. 
Basically with this, you can put any format string you want to show on any value and it can be totally indepndent from the value itself. You need to keep the value for the chart to show the right perspective, but the label itself could be anything you want by using the dynamic formatting option in calculation groups.
Yoy can't do it in power bi desktop alone. You need to use Tabular Editor for that.

I'm adding here some reference for you to watch:
https://www.youtube.com/watch?v=-REAQDqdz0A
https://www.youtube.com/watch?v=PTaZxL8KPzE&t=9s

In case it answered your question please mark this as a solution for community visibility. Appreciate Your Kudos 🙂


 

View solution in original post

1 REPLY 1
SpartaBI
Community Champion
Community Champion

@acg yes, with Calculation Groups and their conditional format string capabilty.
It's not something for a quick answer. 
Basically with this, you can put any format string you want to show on any value and it can be totally indepndent from the value itself. You need to keep the value for the chart to show the right perspective, but the label itself could be anything you want by using the dynamic formatting option in calculation groups.
Yoy can't do it in power bi desktop alone. You need to use Tabular Editor for that.

I'm adding here some reference for you to watch:
https://www.youtube.com/watch?v=-REAQDqdz0A
https://www.youtube.com/watch?v=PTaZxL8KPzE&t=9s

In case it answered your question please mark this as a solution for community visibility. Appreciate Your Kudos 🙂


 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.