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
Anonymous
Not applicable

Disable hover over for one value on Trend Line with 2 values

I have a trend line that has 2 values (Current Year and Prior Year).  I currently have a Tool Tip on Current Year that pops up when you hover over the current year trend line.  However, prior year still has the default Power BI hover over popping up if you hover over it.  Is there a way I can disable it so nothing happens if you hover over the Prior Year Trend line?

 

Thanks

1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi ISUGraber,

There is no setting to disbale tooltip conditionally, so one workaround is that create a tooltip page and use this in chart.

Below is my sample, if your sample is not similar to below, please correct me and inform me your sample data.

namestatusamount

a t 10
a f 12
b t 13
b f 20
c t 21
c f 10

Then you create a new page in the same report, set page properties like below

194.PNG

 create measure like below(for your requirement, you could try to change meausre like below

measure=if(year(min('table'[date]))=year(today()),year(min('table'[date])),blank())

)

Measure = if(MIN('trend line'[status])="t", "t", BLANK())

add multi-card visual in tooltip page

195.PNG

Then return to page which contains line chart and set line chart like below

196.PNG197.PNG

Best Regards,
Zoe Zhi

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
dax
Community Support
Community Support

Hi ISUGraber,

There is no setting to disbale tooltip conditionally, so one workaround is that create a tooltip page and use this in chart.

Below is my sample, if your sample is not similar to below, please correct me and inform me your sample data.

namestatusamount

a t 10
a f 12
b t 13
b f 20
c t 21
c f 10

Then you create a new page in the same report, set page properties like below

194.PNG

 create measure like below(for your requirement, you could try to change meausre like below

measure=if(year(min('table'[date]))=year(today()),year(min('table'[date])),blank())

)

Measure = if(MIN('trend line'[status])="t", "t", BLANK())

add multi-card visual in tooltip page

195.PNG

Then return to page which contains line chart and set line chart like below

196.PNG197.PNG

Best Regards,
Zoe Zhi

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

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.

Top Solution Authors