Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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:
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.
Solved! Go to Solution.
@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 🙂
@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 🙂