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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors