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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Using python plolty package

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:

 

plotly.PNG

 

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

1 ACCEPTED SOLUTION
v-xuding-msft
Community Support
Community Support

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.

 

PYTHON PACKAGES THAT ARE SUPPORTED IN POWER BI
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 .

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

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.

 

PYTHON PACKAGES THAT ARE SUPPORTED IN POWER BI
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 .

 

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-xuding-msft  Thanks for reply. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.