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 August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Can we use Python Script in Dataflow ?

Hello,

 

I know i can run a python script with a local gateway but can we run it from dataflow ? I'm just using pandas btw

 

Thanks guys,

 

Regards,

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on my resaerch, we can only run python script in power bi desktop because it needs packages on-premiss, dataflow is created in power bi service which is a cloud service that could not support Python / R script as a data source. We can only use python visuals in power bi service.

 

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

View solution in original post

2 REPLIES 2
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on my resaerch, we can only run python script in power bi desktop because it needs packages on-premiss, dataflow is created in power bi service which is a cloud service that could not support Python / R script as a data source. We can only use python visuals in power bi service.

 

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

Anonymous
Not applicable

Ok , Thanks for the reply

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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