The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 🙂
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
10 | |
7 |