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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Pynter
Regular Visitor

Make tooltips not filter by legends

I have a bar chart with multiple bars and multiple legends, I want to make a rooltip which only filters by the x axis and not by the legends but I can't seem to do so, is there any way to do it? (I am using power bi desktop may 2022 and sadly cannot upgrade as of now)

1 ACCEPTED SOLUTION

@Pynter 

sorry for my late reply .

 

Daniel29195_1-1706060112930.png

 

 

https://drive.google.com/file/d/113G4xjj5rWDFP2o_XSoCxrW4z0ogLjvA/view?usp=sharinghttps://drive.goog...

 

 

if this not what you want, can you please write on the screenshot the needed output numbers base on the sample data you have provided.

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit that  thumbs up button 🫡👍

View solution in original post

5 REPLIES 5
Daniel29195
Super User
Super User

hello @Pynter 

create you own custom tooltip. 

 

https://www.youtube.com/watch?v=URTA7JZsAtw

 

 

and you need to use some DAX , to remove the filter coming from the legend 

 

example : 
calculate (  sum(table_name[col_name] ,  removefilters(table_name[legend_col_name]))


*---------------

If my response has successfully addressed your issue, kindly consider marking it as the accepted solution . This not only helps you keep track of resolved matters but also assists other community members who may encounter similar challenges. Additionally, your acknowledgment by giving a thumbs up 👍 is greatly appreciated. Thank you for contributing to the community's collaborative spirit.

 

Thanks doe the help @Daniel29195

 

This solves 50% of my problem as now the tooltip does not filter by the legends, however I now have the problem that all the legends are now the same %, so let's say my total count of rows is 60 and I got 3 legends, the pie graph I got in my legend is showing up as 33.33% 60, 33.33% 60, 33.33% 60 instead of something like 50% 30, 10% 6, 35% 24

@Pynter 

 

is it possible to share the power file via link  so i can take a look ? 

 

@Daniel29195 

I sadly cannot share the actual power bi file but I made a new file with the same error, please have a look at it
https://we.tl/t-CPNoJuzITI (WETRANSFER link)
Thanks 🙂

@Pynter 

sorry for my late reply .

 

Daniel29195_1-1706060112930.png

 

 

https://drive.google.com/file/d/113G4xjj5rWDFP2o_XSoCxrW4z0ogLjvA/view?usp=sharinghttps://drive.goog...

 

 

if this not what you want, can you please write on the screenshot the needed output numbers base on the sample data you have provided.

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit that  thumbs up button 🫡👍

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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