Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I am trying to publish a Python Power BI chart to Power BI service. I can plot the python chart without issues in my desktop version, but when I publish it, it says the visual cannot be rendered.
I get this error:
Activity ID: 988c19ff-5cae-468b-8f3c-24249744392b
Request ID: 0590f097-b80e-469f-8db0-82b64292bc40
Correlation ID: 47960ba7-1c06-1ba9-52ff-5e281fa488f6
Time: Thu Jul 10 2025 11:03:47 GMT-0700 (Pacific Daylight Time)
Service version: 13.0.26140.46
Client version: 2506.3.24641-train
Cluster URI: https://wabi-us-gov-iowa-redirect.analysis.usgovcloudapi.net/
I was able to publish the same chart a few weeks ago, so not sure if this is a Microsoft Update or if the issue lies somewhere else.
Please help!
Hi @pgomez58 ,
Thank you for reaching out to Microsoft Community.
Python visual has different restrictions on the desktop and the service, which leads to problems when it is displayed on the desktop and published to the service.
When you publish the report to your Power BI workspace, the visuals are automatically refreshed when the report is viewed. Note, there are a few constraints on the size of the serialized Python dataframe, and the execution resources used by the Python scripts, that are summarized below.
Review your script for unsupported elements, avoid using features like saving files to disk, Plotly visuals, or custom fonts, these aren't supported in Power BI Service.
Verify Python compatibility Ensure your script aligns with Python 3.11 and utilizes only the latest versions of supported packages.
Test in a clean environment Run your code in an isolated setup that includes only officially supported libraries to rule out conflicts.
Try republishing After making adjustments, republish your report and monitor the result.
If your issue still persists, please consider raising a support ticket for further assistance.
To raise a support ticket for Fabric and Power BI, kindly follow the steps outlined in the following guide How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
Please refer to these blog for the limitations Important Update coming to R and Python visuals in Power BI | Microsoft Power BI Blog | Microsoft Po...
Hope this will help.
Best Regards,
Chaithra E.
Hi Chaithra,
Thanks for the detailed post!
I was able to check all my pandas, numpy, and matplotlib library versions, and all of them are the same as the ones Power BI supports. My data is > 150k rows, so I reduced it to something less than that and it still did not work. Unfortunatley I am not an admin so I cant submit a ticket to Microsoft. I plotted this chart a few weeks ago and it was publishing fine, and I created the same chart on another environment and it was publishing fine as well. Wondering if there is anything else?
Hi @pgomez58 ,
This issue usually happens because the Power BI Service has limited support for Python visuals. If your chart works in Power BI Desktop but not after publishing, it’s often because the Python package or library you’re using is not supported in the Power BI Service environment.
Microsoft only allows certain libraries (like matplotlib, pandas, seaborn, etc.) and sometimes updates or changes in the service can break compatibility. Also, the Power BI Service does not support custom fonts, interactive plots (like plotly), or saving images to disk within scripts.
If this worked before but fails now, it could be due to a recent update or a temporary issue with the Power BI Service’s Python runtime. If you are, try republishing after a few hours or days. If it still fails, you may need to adjust your script or raise a support ticket with Microsoft.
Hi. Please take a look at this doc. First, validate if the libraries used in your code are in this list. Otherwise it won't work. Then check the limitations and considerations to see if there is something else producing the error.
I hope that helps,
Happy to help!
I confirmed that the packages installed in my machine are the same ones that are supported by Power BI Service. What other limitations would be present?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
24 | |
17 | |
17 | |
13 | |
11 |
User | Count |
---|---|
33 | |
21 | |
20 | |
18 | |
11 |