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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Power BI service to run R script to output to CSV

Hi, wondering if i can get some help.

 

Basically, i have some CSV's in a network folder.

 

I need to read these Csvs, in Power BI, transform them, and then right them back as new files to the same network folder. 

 

Im pulling my hair out, as I am using R to write the csv, but how do it to write the CSV in the power BI service? I have an on premise gateway and ive added tthe connection to the network folder and that works fine... 

 

whats the best way to go about this?

 

1 REPLY 1
darentengmfs
Post Prodigy
Post Prodigy

@Anonymous 

 

Currently, Power BI service cannot export data using R script.

 

You can use Power Query in Excel to transform them rather than doing it in Power BI. You can use Powershell with Task Scheduler to automatically refresh the file periodically.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.