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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Percentages instead of Numbers in Stacked Column chart

Hello All,

 

One query on Line & Stacked column chart implementation.

I need to show Percentages instead of Numbers in Power BI- Stacked column chart

 

The data set example is provided below. 

 

CountrySalesBusiness/Customer
France2000B
France1000C
UK3000B
UK2000C
Germany4000B
Germany1000C
Spain2000B
Netherlands2000B
Netherlands500C
Italy1000B
Italy200C
Portugal1200B
Portugal300C

 

The visual I'm trying to generate is provided below. 

 

Perc.JPGThe only change required is instead of numbers it should show percentages. 

 

Ex. For Germany, in Business it should be 4000/5000 = 80%, whereas for Customer it should be 1000/5000 = 20%

 

Also the column length is based on the total sales for each country. 

Can you please help with what can be the possible tweak in Power BI which would help me get to this final state. 

 

Thanks 🙂

 

Regards,

Varun

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous 

 

Use 100% stacked column chart.

 

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

Anonymous
Not applicable

@Anonymous 

The idea is not to use 100% stacked column chart. As I want the 'Sales' for each country to determine the size of the columns (and not by 100% value).

Hi, I have not implemented this yet myself, but I came across this article a few weeks ago - I believe it's what you're looking to accomplish and seems fairly simple: https://bielite.com/blog/percent-data-labels/. Good luck!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors