Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

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

  • trutz's avatar
    trutz
    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. 

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