The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi everyone! How do I display the total percentage as the data label instead of total count for the stacked bar (horizontal/vertical)? I don't want the 100% stacked bar chart, only the one that this visual shows. I've already used the tooltips to get the %GT and it does show when I hover each part of the stacked bar, is there a way to add the total percentage to the back text box under %GT when we hover over a part of the stacked bar as well?
Thanks a bunch!
Solved! Go to Solution.
Hi @nguyenh7 ,
Create a measure as below:
percentage = DIVIDE(SUM('Table'[Value]),'Table'[Allocated])
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
@nguyenh7 you need to create a measure that calculated the % and then use that measure for your line chart.
Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
I'm new to power bi, do you mind letting me know how to create a measure for that? Thanks!
Hi @nguyenh7 ,
Create a measure as below:
percentage = DIVIDE(SUM('Table'[Value]),'Table'[Allocated])
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!