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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.