Reply
Karnik_
Helper I
Helper I
Partially syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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
avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)