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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Dynamic tooltip using filtered measures.

Hi,

 

I have a report with 10+ Line charts. Where every line chart shows one line with values from a filtered dimension called Test.

For each line chart I have created a measure as below, filtering on Test1, Test2, Test3 etc instead of having a filter on every visual.

Avg. Test1 =
CALCULATE(
AVERAGE(Fact[TransformValue]),
KEEPFILTERS('Dimension'[Parameter] = "Test1"))

 

The problem I am facing with the approach of having one measure for each visual is when showing the Tooltip which will show every value we have instead of the filtered value in my measure, which is logical.  But I want to be able to use one Tooltip instead of creating several Tooltips, each having the correct measure in them.

 

The tooltip is a straight table with columns like below.

HannesB_0-1730789326785.png

 

When I have a filter on the visual and use same Measure on each visual I can use the same Tooltip which will be filtered on the Test1 value for example.

 

My question is: Is there a way to filter the tooltip with the measures in some way? Making one Tooltip reusable and dynamic.

 

Thanks in advance 🙂

2 REPLIES 2
danextian
Super User
Super User

Hi @Anonymous 

You will need to convert you measures into a pseudo-column by  either

  1. using calculation group (that explicitly indicates a measure instead of SELECTEDMEASURE)
  2. or a disconnected table that holds the measure names and another measure to return the desired value
  3. or by using field parameters

Please see attached sample pbix.

danextian_0-1730792721545.png

danextian_1-1730792730722.png

 

Note: if you intend to have all the measures in one line chart and dynamically change the tooltip  based on what's currently hovered, that is not currenlty possible. When you hover a line chart, what is hovered is the x-axis category and not each y-axis element.

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Anonymous
Not applicable

Thank you for your reply and explanation danextian.

I have looked into the pbix and what I would like to have is a filter on each category in the ToolTip and the visual. So one visual should be on Category "Apparel" and the other one on Category "Cosmetics".

And this without having to use a filter on the visual as in the picture.
Do you think this is something that can work?

HannesB_0-1730814467780.png

 

Thank you!

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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