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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
tgmiller5
Frequent Visitor

Connect Python with PowerBi

Does anyone have steps on how to connect Python with PowerBI? Is API the only way to go?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@tgmiller5,

With Power BI Desktop August version, you are able to  use Python to do data cleaning, analysis, and visualization. For more details, please take a look at the following blog.

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-august-2018-feature-summary/#python

Regards,
Lydia

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, Despite the fact that I do have Python installed when I'm trying to connect it to PBI I get an error message:

 

Unable to connect :

Details: "ADO.NET: Python script error.
Traceback (most recent call last):
  File "PythonScriptWrapper.PY", line 2, in <module>
    import os, pandas, matplotlib.pyplot
  File "C:\USERS\WAA302\APPDATA\LOCAL\CONTINUUM\ANACONDA3_5.3.1\lib\site-packages\pandas\__init__.py", line 19, in <module>
    "Missing required dependencies {0}".format(missing_dependencies))
ImportError: Missing required dependencies ['numpy']
"

 

Cann anybody advise please?

 

Thanks 

Anonymous
Not applicable

@tgmiller5,

With Power BI Desktop August version, you are able to  use Python to do data cleaning, analysis, and visualization. For more details, please take a look at the following blog.

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-august-2018-feature-summary/#python

Regards,
Lydia

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.

Top Solution Authors