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
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
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.