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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Can you Run R scripts in Dataflows ?

I have an R script that runs fine in PB desktop.

 

It would be fantastic to be able to push this into a dataflow.

 

Has anyone been able to run R scripts in a dataflow  ?

 

My testing of a simple R query using a web data source indicates that it's not as simple as copying and pasting M code into a dataflow. e.g. 

source <- "https://cdn.rawgit.com/BlueGranite/Microsoft-R-Resources/master/power-bi/gameconsole.csv"  
game.console <- read.csv(source, header = TRUE)

 

Anyone have any ideas ?

 

Many thanks in advance

 

Simon

1 REPLY 1
v-diye-msft
Community Support
Community Support

Hi @Anonymous 

 

Based on my research, It’s not accessible to run R scripts in Dataflows currently.

7.png

It’s preferred to raise your idea in the portal below to bring the feature coming online:

https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Best regards,

Dina Ye

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.