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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.