Power BI- When Total Label on Stacked visual is not sufficient

Amit Chandak
3 min readJul 20, 2022

--

Problem: When the total label in stacked visual does not do the desired job, what is the alternate

Solution: Power BI has provided total label under stacked visual sometime back. and you can show the total label using the visual property

Power BI Total Label Stacked Visual

But if you use avg or percent measure, it still shows total not Avg

Power BI Total Label Stacked Visual

In such a case we have to use the old techniques. Use a Line and Stacked Column Visual and adjust the secondary line axis a little bit

Power BI Total Label Stacked Visual

Now go to line property and make Stroke Width =0

Power BI Total Label Stacked Visual

I want to show the total label in a 100% stacked visual. I need [net] measure as total, which is not available in 100% stacked visual as it only shows %. So first we will create a percent measure

Create a new measure and marked that as a % in measure tools

Brand % = divide([net],CALCULATE([Net], REMOVEFILTERS('Item'[Category])))

Used Brand % on Primary y Axis and Net on secondary y-Axis

Adjusted the y-axis and Secondary y-Axis

if needed you can remove the marker of the line. I have enabled that here

You can find the file on Power BI Community. Please like and share.

Click Here to access all my blogs and videos in a jiffy via an exclusive visual glossary using Power BI.
Please like, share, and comment on these. Your suggestions on improvement, challenges, and new topics will help me explore more.

You Can watch my Power BI Tutorial Series on My Channel, Subscribe, Like, and share

--

--

Amit Chandak
Amit Chandak

Written by Amit Chandak

Amit has 20+ years of experience in Business Intelligence, Analytics, Data Science. He is Chief Analytics Officer at Kanerika & Power BI community Super User

No responses yet