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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
fgabbaninililly
New Member

Using custom package in PowerBI Python visual

Hi, I would like to use a custom Python package to do some calculations and finally display a Python visual in PowerBI.

Everything works well on PowerBI Desktop (by first installing my package in the Python environment that's referenced by PBI Desktop).

If I publish my report on a Premium workspace, the PowerBI visual does not work, because it cannot find my custom Python package anywhere.

Is there any way to install my package so that it is visible from my Premium PBI workspace?

Thanks in advance.

 

4 REPLIES 4
TeigeGao
Solution Sage
Solution Sage

Hi @fgabbaninililly ,

As mentioned in this blog: https://powerbi.microsoft.com/en-us/blog/python-visualizations-in-power-bi-service/

Only the following Python packages are currently supported for use in your Power BI reports:

  • matplotlib
    numpy
    pandas
    scikit-learn
    scipy
    seaborn
    statsmodels

Best Regards,

Teige

Thanks for your reply Teige.

Do you know if Microsoft has plans to add support for more Python packages in the future?

 

Francesco.

Hi @fgabbaninililly ,

I think we can open an idea at https://ideas.powerbi.com/forums/265200-power-bi-ideas

Best Regards,

Teige

I think there is already an idea opened about this:

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/36881791-custom-python-library-in...

Unfortunately, it got only 5 votes so far...

I will add my vote now.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.