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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
PBI_ponderer
Frequent Visitor

Python Visualisations in PBI Service Not Working

Hello all,

 

I am having issues running python visualisations in PBI Service - everything runs on PBI Desktop but on Service it is giving me a "Script Runtime Error" (please see the screenshot attached). I suspect that it is because PBI Service does not support this python package as it is not included in the list in the documentation: https://docs.microsoft.com/en-us/power-bi/connect-data/service-python-packages-support. However, I am confused about this statement in the documentation "The Power BI service supports packages published in PyPI", the package "Shap" that I am using for the visuals is published in PyPI so why doesn't it work? I feel that this is conflcicting information: on the one hand there are only 8 packages supported in PBI Service yet it also supports every package in PyPI?

 

Would really appreciate any clarity on this issue.

 

Script runtime error.PNG

2 REPLIES 2
Anonymous
Not applicable

Did you get a solution for this? As i am also facing the same problem.

lbendlin
Super User
Super User

If you have a Pro license you can raise a ticket with Microsoft to inquire about currently  supported packages (and their version - very important!). The documentation on that part is rather thin.

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.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.