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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
asifumar2008
New Member

How to edit Rscript given as data source in Get Data?

Hi Folks,

 

I have used an R script as a data source in powerBI using Get Data and created visuals with the R output data. As i found some mistakes in my R code, I want to edit my R script embedded in PowerBI. But I coudn't locate where my Rscript is in powerBI. What is the navigation basically to access to the R script given as input? leads are much appreciated. Thanks!

3 REPLIES 3
asifumar2008
New Member

Hi All,

 

I have given an R script into powerBI using Get Data. Created few visuals with the R output. Now I want make some modifications in my R script. How to edit my R script in PowerBI? I couldn't find where my R script is in PowerBI? Thanks in advance!

Hi @asifumar2008,

 

Please open query Editor, go to Applied Steps, find the step named Run R Script, click on the gear button, it will prompt the screen to modify the R script.

 

q6.PNG

 

Also you can open Advanced Editor in Query Editor, you can also see the R script.

 

q7.PNG

 

Best Regards,
QiuyunYu

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

I am also looking to edit the original R script that I used to Get Data. 

I did find it in Advanced Editor with some additional formating, which makes it hard to read. 

But I haven't found that option in Applied Steps.  

 

This may be due to the fact that I imported several tables from one same R script.  

Still, I am looking on where to go from here. 

Thanks. 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.