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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Tooltip(Annotation on Hover) for Python Visual in Power BI

Hi,

I am new to Power BI.

I have developed a Gantt Chart in Power BI Using Python Visual.

However, I am trying to display a tooltip when the cursor points a specific bar.

I tried running the same code in an external editor, & the tooltip works well there. 

The same visual is visible but the tooltip functionality doesn't work in PowerBI.

Is there any solution to this?

 

Thanks in Advance

@GuyInACube @prateekraina @v-yulgu-msft 

@v-evelk  @v-danhe-msft @v-chuncz-msft 

@Greg_Deckler @datanaut @d_gosbell 

 

3 REPLIES 3
trutz
Advocate III
Advocate III

Looking at the documentation:

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-python-visuals

It is probably this part that prevents tooltips:

Python visuals are refreshed upon data updates, filtering, and highlighting. However, the image itself isn't interactive and can't be the source of cross-filtering.
Python visuals respond to highlighting other visuals, but you can't click on elements in the Python visual to cross filter other elements.

Probably the script runs, produces an image which is then shown in the report. This is then the reason, that there is no feedback to your script to produce the tooltip. 

lukaspinta
New Member

It would be great, if someone at least reply, that there is no way to do this in Power Bi.

Anonymous
Not applicable

+@santoshc  

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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