Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.