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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.