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
thabrich
Frequent Visitor

Python Visuals In Power BI Service Dashboard

Hello,

 

I got an issue with python visuals in Power BI Service Dashboards.

I created a python visual in BI Desktop which works well. Also, when uploading it to a report in power BI service, the visual is still visibile. However, after appending it to a dashboard the visual does not load correctly anymore. I only see a box with the bi logo instead of my visual.

 

Are there any known issues with the python visual in power Bi dashboards?

Is there a limit to loading times for python visuals?

Can I optimize the python code to make it work in a dashboard?

 

Thanks

5 REPLIES 5
v-yangliu-msft
Community Support
Community Support

Hi  @thabrich  ,

 

After my test, I can display the Python visual object in the dashboard, whether there is a problem in which step of your operation.

Or you can delete sensitive data from your pbix file and publish it, I use your pbix file to see if it can be displayed.

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This is what a python visual from your example looks like when I pin it to a dashboardThis is what a python visual from your example looks like when I pin it to a dashboard

I simply used the example provided by microsoft and pinned it to a dashboard. That's what the result on my dashboard is. There is no need to share my own file, since the it happens with the demo already.

 

Thanks,

Thilo

v-yangliu-msft
Community Support
Community Support

Hi  @thabrich ,

 

There are some limits for python visual in Power BI service. Please refer to:
https://powerbi.microsoft.com/en-us/blog/python-visualizations-in-power-bi-service/
https://www.ahaapps.com/microsoft-power-bi-service-with-python-visualizations/

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

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yangliu-msft,


thanks for replying to my question. I checked the constrains and they are not the issue.

However, I downloaded your samples for testing from github and I'm facing the same issue.

With your own visual, also after the attachment of the python visual to the dashboard, the visual does not show on the dashboard.


Have you ever experienced something similar?

 

Thanks,

Thilo

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.

Top Solution Authors
Top Kudoed Authors