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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
SevsBo
Resolver I
Resolver I

"Total labels" greyed out & disappear from Stacked column chart after filtering

I have a Stacked column chart with X & Y axis populated and Legend further breaking down the visual. I have Total labels on and this is working fine, as per the screenshot below.

 

SevsBo_0-1733326639352.png

 

 

But when I filter the data by the same column that is in the Legend field, my totals disappear. I can only get them back if I instead turn on Data labels as a whole, which I do not want as it will show unecessary data when results are not filtered.

 

SevsBo_1-1733326670639.png

 

 

Is there a way to show Total lables even when results are filtered to a single selection?

1 ACCEPTED SOLUTION
v-tangjie-msft
Community Support
Community Support

Hi @SevsBo ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data. 

vtangjiemsft_0-1733365814680.png

(2) We can create a slicer table. Note that there is no model relationship between this table and the original table.

Table 2 = SUMMARIZE('Table',[type])

vtangjiemsft_1-1733365893796.png

(3) We can create measures.

value measure = CALCULATE(SUM('Table'[value]),FILTER('Table',[type] in VALUES('Table 2'[type])))
label measure = IF(ISFILTERED('Table 2'[type])=FALSE(),BLANK(),[value measure])

(4) Then the result is as follows.

vtangjiemsft_2-1733366127921.png

vtangjiemsft_3-1733366146920.png

 

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

1 REPLY 1
v-tangjie-msft
Community Support
Community Support

Hi @SevsBo ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data. 

vtangjiemsft_0-1733365814680.png

(2) We can create a slicer table. Note that there is no model relationship between this table and the original table.

Table 2 = SUMMARIZE('Table',[type])

vtangjiemsft_1-1733365893796.png

(3) We can create measures.

value measure = CALCULATE(SUM('Table'[value]),FILTER('Table',[type] in VALUES('Table 2'[type])))
label measure = IF(ISFILTERED('Table 2'[type])=FALSE(),BLANK(),[value measure])

(4) Then the result is as follows.

vtangjiemsft_2-1733366127921.png

vtangjiemsft_3-1733366146920.png

 

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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