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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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