Forum Discussion
Need to display image as tooltip on mouse hover
Hi, I have images stored in remote server and I have https link to that server to fetch that image like below:
https://cne.dc01.its.xyz.net/data/file/1
this is a dummy link and will not work if u try to click on it. But the actual link open the image. there is column in sql table which stores such image link for each file. I am using this column in a table visual and can see images. Now I want to display this image as tooltip when mouse hover on the table. I am creating the tooltip page and using card visual for the image. but the card visual not displaying image. could you please help me to create tooltip page for this purpose.
Thanks
Hi Musketeers
It won’t work with card visual because it doesnot support images from URLs. In Power BI to show images including in tooltips the column must be categorized as Image URL and you need to use a visual that supports images.
You can create report page tooltip and use a Table or Multi-row card visual and not card then add the image URL column to that visual, set its Data Category to Image URL
5 Replies
- krishnakanth240
Super User
Hi Musketeers
It won’t work with card visual because it doesnot support images from URLs. In Power BI to show images including in tooltips the column must be categorized as Image URL and you need to use a visual that supports images.
You can create report page tooltip and use a Table or Multi-row card visual and not card then add the image URL column to that visual, set its Data Category to Image URL
- MusketeersFrequent Visitor
Hi Krishnakanth, Thanks for your help. why I was insisting on card visual because I have a dashboard (developed by some one who has left ) where for tooltip page, card visual is used and it shows image. but when I try to do the same it doesnot work. I had searched it in chat gpt and got the same responce what your are saying. So I am surprised, how the card visual is working in this dashboard. below is the image of visual used in existing dashboard
- krishnakanth240
Super User
Hi Musketeers
It's a new card visual.
Can you check this blog to implement the tooltip https://powerbi.microsoft.com/en-in/blog/new-card-visual-public-preview/
You can try using a table visual which might work for you
- cengizhanarslan
Super User
Using a card visual does not work when you put measue that reference to a image url when you use a tooltip page. What you can do is instead of using a card visual, use a table visual in your tooltip page. Create a measure for for images and set Data Category = Image Url.
Selected Url = SELECTEDVALUE ( DimProduct[Url] )To make it visually nice adjust for visual setting -> Image Sıze
- AnonymousNot applicable
Hi Musketeers
Thank you for reaching out to the Microsoft Fabric Forum Community.
krishnakanth240 cengizhanarslan Thanks for the inputs.
I hope the information provided by users was helpful. If you still have questions, please don't hesitate to reach out to the community.