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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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 IV
Advocate IV

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.