Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi @community,
I have an issue with using python plotly package for a custom vizualization. When I run the working python script in Power BI (tested and working in Visual Studio) it shows an error and the following message appears:
at the same time the vizualization opens a new tab in my default browser. Is it possible to somehow avoid that opening and have the vizualization opened in Power BI.
Many thanks in advance.
Cheers,
Saro
Solved! Go to Solution.
Hi @Anonymous
I'm afraid that Plotly is not supported in Power BI currenly. Based on the document, the following table shows which packages are supported in the Power BI service.
| Package | Version | Link |
|---|---|---|
| matplotlib | 3.2.1 | https://pypi.org/project/matplotlib |
| numpy | 1.18.4 | https://pypi.org/project/numpy |
| pandas | 1.0.1 | https://pypi.org/project/pandas |
| scikit-learn | 0.23.0 | https://pypi.org/project/scikit-learn |
| scipy | 1.4.1 | https://pypi.org/project/scipy |
| s eaborn | 0.10.1 | https://pypi.org/project/seaborn |
| statsmodels | 0.11.1 | https://pypi.org/project/statsmodels |
| xgboost | 1.1.0 | https://pypi.org/project/xgboost |
In addition, you could refer to this similar thread which should make sense. And you also could vote up the idea: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/38260432-plotly-package-support-with-python .
Hi @Anonymous
I'm afraid that Plotly is not supported in Power BI currenly. Based on the document, the following table shows which packages are supported in the Power BI service.
| Package | Version | Link |
|---|---|---|
| matplotlib | 3.2.1 | https://pypi.org/project/matplotlib |
| numpy | 1.18.4 | https://pypi.org/project/numpy |
| pandas | 1.0.1 | https://pypi.org/project/pandas |
| scikit-learn | 0.23.0 | https://pypi.org/project/scikit-learn |
| scipy | 1.4.1 | https://pypi.org/project/scipy |
| s eaborn | 0.10.1 | https://pypi.org/project/seaborn |
| statsmodels | 0.11.1 | https://pypi.org/project/statsmodels |
| xgboost | 1.1.0 | https://pypi.org/project/xgboost |
In addition, you could refer to this similar thread which should make sense. And you also could vote up the idea: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/38260432-plotly-package-support-with-python .
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 158 | |
| 132 | |
| 116 | |
| 79 | |
| 54 |