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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors