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.
I am trying to plot a shap plot using "SHAP" library in Power BI. In Power BI desktop it working perfectly fine, but in Power BI Service it is giving me following error message.
Script Runtime Error
ModuleNotFoundError: No module named 'shap'.
Details about the error:
Activity ID: b5c8f9ab-3bc7-47cc-8bcd-832ed5ef7ed0
Request ID: 1fdb1a0c-4777-425a-930f-cfe8e887ec11
Correlation ID: f5fe634f-4b1e-e375-4859-48255c898194
Time: Wed Nov 02 2022 09:57:58 GMT+0530 (India Standard Time)
Service version: 13.0.19357.55
Client version: 2210.4.10658-train
Cluster URI: https://wabi-canada-central-b-primary-redirect.analysis.windows.net/
Solved! Go to Solution.
Hi @Rohan231 ,
It looks like you're planning to create visuals in Python.
But the SHAP library is not supported in the Power BI Service.
For more information, you can refer these documentations:
Learn which Python packages are supported - Power BI | Microsoft Learn
Python visualizations in Power BI Service | Microsoft Power BI Blog | Microsoft Power BI
Hope this helps you.
Best Regards,
Community Support Team _Yinliw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Rohan231 ,
It looks like you're planning to create visuals in Python.
But the SHAP library is not supported in the Power BI Service.
For more information, you can refer these documentations:
Learn which Python packages are supported - Power BI | Microsoft Learn
Python visualizations in Power BI Service | Microsoft Power BI Blog | Microsoft Power BI
Hope this helps you.
Best Regards,
Community Support Team _Yinliw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
20 | |
18 | |
15 | |
13 |
User | Count |
---|---|
37 | |
23 | |
21 | |
18 | |
12 |