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
Anonymous
Not applicable

Python Power BI Integration

Hey All,

 

Currently I have downloaded excel file from SQL server and prepared the reports in PBI desktop on my machine using some python libraries like pandas, stats models. I have python installed on my machine and hence don’t face any issue.

 

Now, in the next step I want to link SQL directly with PBI(this part I know), and also perform python functions in the server itself i.e. w/o the interaction of python libraries path directed to my C drive. Is this possible. If yes, please provide guidance.

 

Thanks. 😊

3 REPLIES 3
Anonymous
Not applicable

Hey, this is i think program that works when you have python installed in the local system...i want to do run the program in the server after fetching data directly from SQL.

 

Thanks

Sahil

Hi @Anonymous ,

 

Are you trying to run python script in power bi? Please refer to  https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-python-in-query-editor

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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