Skip to main content

Power BI

Under Review

Totals in stacked column charts

Vote (1619) Share
Hylke Sasse's profile image

Hylke Sasse on 31 Oct 2017 19:06:00

During several presentations I get questions regarding the total of stacked columns. In the current situation you can select to label all the parts of the stacked column but no grand total. I would like to see the option to add a label to the Visuals which shows the total of the stacked column (this counts for values only). Ideally this total would deviate together with the drilldowns you select, so it stays interactive whatever filters you select or subsets you create on your dashboard.

Comments (45)
Hylke Sasse's profile image Profile Picture

ca60dac9 c4ba-4cb2-a756-c3f2b3629ac6 on 05 Jul 2020 23:56:55

RE: Totals in stacked column charts

Great that there's an alternative, but this would be a very helpful key feature to have as part of the default graph setup.

Hylke Sasse's profile image Profile Picture

ba7ae3d1 7265-4d78-8cf2-8dcf042dffe9 on 05 Jul 2020 23:43:12

RE: Totals in stacked column charts

Randomly discovered this hack to show Totals above the columns in stacked column charts.

Key points:
1.) Change the Stacked Column Chart to a Combo Chart (Line and stacked column chart).
2.) In the Combo Chart, drag the same field that you have under "Column values" so that it is duplicated under "Line values".
3.) Use Formatting -> Shapes -> Stroke Width to make the line thickness=0 and/or remove the line markers.

Hope this helps.

Hylke Sasse's profile image Profile Picture

07ba5256 4b24-4f15-9054-30971c7e5901 on 05 Jul 2020 23:36:52

RE: Totals in stacked column charts

The ability to show a total on all charts would be lovely. Having to create multiple workaround measures to show a total in the tooltip instead of simply using the legend is a pain in the backside. Definitely long overdue.

Hylke Sasse's profile image Profile Picture

2f7b5df6 9f9e-41f7-b668-127ff51d36f2 on 05 Jul 2020 23:34:56

RE: Totals in stacked column charts

long overdue...

Hylke Sasse's profile image Profile Picture

e7dd35be 3102-49e5-8016-4827944729a4 on 05 Jul 2020 23:30:43

RE: Totals in stacked column charts

I've faced several times when my boss asked me, ok. I liked TOP N bars, but what is the total?
So, indeed great idea.

Hylke Sasse's profile image Profile Picture

bdd18c26 0e5a-4651-8100-d46523f60b0c on 05 Jul 2020 23:28:14

RE: Totals in stacked column charts

Any update on this? I had to layer two charts on top of each other to get the Grand Total to appear above each bar. Every time I need to change or move, it's a hassle. I just had to make an update yesterday and I said to myself "I cannot believe that I have to create this visual in this way" Come on Microsoft. Please implement!

Hylke Sasse's profile image Profile Picture

7f4d19d3 918c-4cbd-b560-07e0ab73e7bc on 05 Jul 2020 23:27:04

RE: Totals in stacked column charts

I use a Line and Stacked Column Chart to give me totals for each Bar HOWEVER the other issue I have is that the position for the Data Label total are then completely random. Some within the bar, some above the bar and some, half in and out of the bar and off to one side. Come on MS this is really basic functionality. When Users ask about this and you tell them its not possible to move these it's a little embarrasing.
Either allow us to reduce the charted area on a bar chart visual so the totals are nicely lined up OR please force the data labels to line up automatically. Thanks.

Hylke Sasse's profile image Profile Picture

ea898988 2d4a-4e39-a29e-0621a8c242ff on 05 Jul 2020 23:24:36

RE: Totals in stacked column charts

Would also need the ability to sort by the total.

Hylke Sasse's profile image Profile Picture

b641bb12 a613-4aec-908b-99ecf75d458a on 05 Jul 2020 23:24:23

RE: Totals in stacked column charts

I use a stacked bar with line chart where the line chart provides the grand total

Hylke Sasse's profile image Profile Picture

48ad73e7 ef4e-467c-8841-474e149caefb on 05 Jul 2020 23:22:46

RE: Totals in stacked column charts

It is a good idea. Currently I have to make a matrix of grand total as a work around