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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ZaraSeif123
Frequent Visitor

R script Write to csv file on Onedrive

Hi

I need to export a dataset to a file on Onedrive for business, whenever my reort gets refreshed in Power Bi service.
I have a R script in Power BI desktop that exports the dataset to a local csv file but I haven't been able to configure it to work on service.

 

What command in R language should I use to write to Onedrive?

 

Thanks in advance

5 REPLIES 5
Anonymous
Not applicable

Did you find a solution to getting script to write file to a local file in pbi service? I came across this challenge today

No unfortunately I didn't. Customer's requirements changed and I didn't have to do it anymore.

Anonymous
Not applicable

Thanks for the prompt response.

Shame it doesn't seem like it is feasible. Would be really useful to store staging data or to allow storage of API data that only exposes activity in the last 90 days. Was trying to use this to extract and store the Power BI refresh history data. I might post an idea and link back to this post in case someone else stumbles across this problem.

Anonymous
Not applicable
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @ZaraSeif123,

 

What I can think out is using OneDrive REST API since OneDrive isn't a general folder. I would suggest you go to https://stackoverflow.com/tags/onedrive for professional support.

 

 

Best Regards,

Dale

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors