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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
EugenioProlog
Helper III
Helper III

filter through context on tooltip

I have a line graph that has a tooltip and I want the tooltip to reflect the selected value of the line that I am hovering over. But when I look at the tooltip, it is not receiving the filter of the item that I am hovering. 

EugenioProlog_0-1770823628347.png

here is the metric I am using to debug:

Debug - Kit no Tooltip =
SELECTEDVALUE ( dim_kits[kit_name], "No Filtered Kit on Context" )



Below is attached my .pbix file:
https://drive.google.com/file/d/1kEuHUcgH9vpIwFy3iiPoVO8zSjS16vM5/view?usp=sharing

1 ACCEPTED SOLUTION
vojtechsima
Super User
Super User

Hey, @EugenioProlog ,

I did check your file; the reason is that the legend is not being filtered at all when hovering. As the filtered line doesn't act as a category for some reason. So you're getting both values, Kit 1 and Kit2, therefore you get the alternative text.

 

Not sure how to fix it with lines, but it works with columns. (Can't share screenshot for some reason, but just copy the visual as column chart and it works).

 






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

View solution in original post

3 REPLIES 3
vojtechsima
Super User
Super User

Hey, @EugenioProlog ,

I did check your file; the reason is that the legend is not being filtered at all when hovering. As the filtered line doesn't act as a category for some reason. So you're getting both values, Kit 1 and Kit2, therefore you get the alternative text.

 

Not sure how to fix it with lines, but it works with columns. (Can't share screenshot for some reason, but just copy the visual as column chart and it works).

 






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

Wow, that is indeed bugged, I changed to bar chart and it worked fine. I wanted to do with line chart but I guess I'll have to settle for bar chart. Thank you!

JamieHolding
Resolver I
Resolver I

There are a few things that could cause this.

- Check the model is correct by placing the same visual as your tooltip on the page, and click on the chart to see if the 'tooltip' visual correctly changes. If not, you need to sort out the relationships in your model.

 

- Check Tooltip Fields include the dim_kits[kit_name] in the Tooltip field well

 

- Check conflicting slicers

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.