Skip to main content
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

Advocate I
Advocate I

Export dataset into a file from Power BI Service using R script

I have developed a report with PowerBI Desktop that includes a R visual that exports the dataset to a csv by putting a local path:


write.csv2 (dataset, "path/dataset.csv")


Is there any way to do this from PowerBI Service?

Advocate I
Advocate I

Any update on this issue please?

Community Support
Community Support


After researching, i don't find any articles about exporting dataset into a file from Power BI Service using R script.

You could consider "export data" in Service.( create a table visual and add all your columns in, then use "export data" fuction.)


Best Regards



Thanks for your reply @v-juanli-msft but I need export dataset using R script by two reasons:

  1. "Export data" function has a row limit.
  2. R script is a form to solve this situation because it allows me to create dynamic tables based on filter/slicer. 

Is it impossible to export data in powerbi without being with the "Export data" function?


Helpful resources

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.


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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors