Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe 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.
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.
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.
Is there a way to show Total lables even when results are filtered to a single selection?
Solved! Go to Solution.
Hi @SevsBo ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(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])
(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.
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.
Hi @SevsBo ,
According to your description, here are my steps you can follow as a solution.
(1) This is my test data.
(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])
(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.
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.
User | Count |
---|---|
141 | |
70 | |
70 | |
53 | |
52 |
User | Count |
---|---|
208 | |
95 | |
64 | |
60 | |
57 |