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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
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.