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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors