Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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
No unfortunately I didn't. Customer's requirements changed and I didn't have to do it anymore.
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.
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