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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors