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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Jaskier698
New Member

Dynamic tooltip image based on pie chart element

Hello,

 

I am looking for a way to display a  different image based on which slice of the pie chart is hovered on. I have pie chart with budget split between different campaigns and I would love to show the key visual from each campaign depending which slide is being hovered on.

I tried to do it via some guides mentioning auxillary pages but can't get it to work. It shows only 1 image regardless which part of the chart is selected.
Do you know if this approach is even possible?

Alternatively - I have a slicer with button selectors. Can I add a tooltips with a different image to the buttons that are hovered on like that: button A - Image A, button B - image B etc.

 

Thank you!

1 ACCEPTED SOLUTION

If you want to have it work based off a  category in the chart. Create a table of campaigns and image links, with data type of the link set to image URL.

 

Campaign image =

Calculate(

Selectedvalue( campaignImage[image URL] )

,treatas( { datum[campaign] }, campaignImage[image[campaign])

)

 

Add the measure to a visual on the tooltip. When you hover on a slice of pie the campaignImage table will be filtered to a single image URL and return the image

 

 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

6 REPLIES 6
v-csrikanth
Community Support
Community Support

Hi @Jaskier698 

We haven't heard from you since last response and just wanted to check whether the solution provided has worked for you. If yes, please Accept as Solution to help others benefit in the community.
Thank you.

If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.
Best Regards,
Community Support Team _ C Srikanth.

v-csrikanth
Community Support
Community Support

Hi @Jaskier698 
It's been a while since I heard back from you and I wanted to follow up. Have you had a chance to try the solutions that have been offered?
If the issue has been resolved, can you mark the post as resolved? If you're still experiencing challenges, please feel free to let us know and we'll be happy to continue to help!
Looking forward to your reply!

Best Regards,
Community Support Team _ C Srikanth.

v-csrikanth
Community Support
Community Support

Hi @Deku 
Sorry for the late response. 

Thank you for being part of the Microsoft Fabric Community.

As highlighted by @Deku , the proposed approach appears to effectively address your requirements. Could you please confirm if your issue has been resolved?
If you are still facing any challenges, kindly provide further details, and we will be happy to assist you.

If the above information helps you, please give us a Kudos and marked the Accept as a solution.
Best Regards,
Community Support Team _ C Srikanth.

Deku
Super User
Super User

Please see this guyinacube video


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Hi, unfortunately the solution in the video is not really working as my tooltip is text value dependent rather than amount or conditional formating. 

If you want to have it work based off a  category in the chart. Create a table of campaigns and image links, with data type of the link set to image URL.

 

Campaign image =

Calculate(

Selectedvalue( campaignImage[image URL] )

,treatas( { datum[campaign] }, campaignImage[image[campaign])

)

 

Add the measure to a visual on the tooltip. When you hover on a slice of pie the campaignImage table will be filtered to a single image URL and return the image

 

 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.