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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Gladiator909
Helper I
Helper I

Stacked Column Chart - Total of each column should add to 100% but height of column should be a sum

Hello Everyone,

 

I am fairly new to PowerBI and I am trying to build a fairly simple chart but I am sort of stuck.

 

I am trying to plot a stacked column chart where the total of each column in the chart should add to 100% but the height of the column should be a sum of my categories. Here is an example:

 

Dataset:

Year    make    number sold

2018nissan92
2018acura44
2018toyota17
2019nissan57
2019acura18
2019toyota73
2020nissan6
2020acura46
2020toyota63
2021nissan90
2021acura84
2021toyota28

 

The chart that I am able to output is the following:

Gladiator909_0-1658275156881.png

 

What I would like from the graph is % instead of sums where each column adds up to a 100% however I still want to show how the volume changed from year to year so the heights of each individual bar should remain as they are in the picture. 

 

Here is how the final chart should look like (Different example):

 

Gladiator909_1-1658275425443.png

Any ideas how to get this to work in PowerBI?

 

Thank you

 

 

1 ACCEPTED SOLUTION
MahyarTF
Memorable Member
Memorable Member

Hi,

In my point of view, there are two solutions :

1- Use the %100 Stacked Column Charts for shown the % of each value(legend per year) and use tooltip page for shown the value :

MahyarTF_0-1658279730637.png

 

2- Also there is another Visual, that could download from AppSource. Its name is "100% Stacked Column Chart with Value Label", (the Y-Axis is shown from 0 to 100 and the amount is shown on each chart):

MahyarTF_1-1658279950549.png

 

Mahyartf

View solution in original post

1 REPLY 1
MahyarTF
Memorable Member
Memorable Member

Hi,

In my point of view, there are two solutions :

1- Use the %100 Stacked Column Charts for shown the % of each value(legend per year) and use tooltip page for shown the value :

MahyarTF_0-1658279730637.png

 

2- Also there is another Visual, that could download from AppSource. Its name is "100% Stacked Column Chart with Value Label", (the Y-Axis is shown from 0 to 100 and the amount is shown on each chart):

MahyarTF_1-1658279950549.png

 

Mahyartf

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.