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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Karnik_
Helper I
Helper I

How to add a total column to Stacked Bar chart

Karnik__0-1688756835432.png

 

I have a chart like this. They want to see a bar with total amount for each year as well with quaters. How do i do that? Is that even possible? On x-axis there are two columns used first year then quarter.

Thanks in advance.

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Karnik_ 
There is no option to add a total stacked column in a standard generic way.
There are some workarounds to do it like in the linked discussion, but then you should make some changes in your data table to achieve it (note that it includes sample file)
https://community.fabric.microsoft.com/t5/Desktop/Stacked-Column-Chart-add-Total-column/m-p/785693
Personally from the point of view of effective data visualization, I don't recommend using this kind of graphs at all because there are not really have some informational value. As an alternative, you can use a matrix with conditional formatting of bars. Please refer to the attached blog post:
"Home experiments" and stacked bar graphs (madeiradata.com)
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @Karnik_ 
There is no option to add a total stacked column in a standard generic way.
There are some workarounds to do it like in the linked discussion, but then you should make some changes in your data table to achieve it (note that it includes sample file)
https://community.fabric.microsoft.com/t5/Desktop/Stacked-Column-Chart-add-Total-column/m-p/785693
Personally from the point of view of effective data visualization, I don't recommend using this kind of graphs at all because there are not really have some informational value. As an alternative, you can use a matrix with conditional formatting of bars. Please refer to the attached blog post:
"Home experiments" and stacked bar graphs (madeiradata.com)
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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