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

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.

Reply
Ahamidi180cc
New Member

R dataset read in Power query

Hi everyone,

 

We're trying to export a huge dataset of over 500000 rows to multiple CSV files using an R script in Power query. The script works but the problem we're facing is that R seems to only read the data of the power query preview. Because of this our CSV files are not complete. 

 

Is there a way that R reads the entire dataset in Power query instead of just the preview?

 

Kind Regards ,

Ahamidi180cc

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Let Source = Table.Buffer(Accounts),

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

Let Source = Table.Buffer(Accounts),

Icey
Community Support
Community Support

Hi @Ahamidi180cc ,

 

Please let us know if @lbendlin's reply is helpful.

 

If it is, please always accept his reply as solution to your question so that people who may have the same question can get the solution directly.

 

If not, please give us more details.

 

 

Best Regards,

Icey

 

lbendlin
Super User
Super User

Use a Table.Buffer transform before running the R script.  That should load the entire data.

 

May I ask why you abuse Power Query and R in such a manner? Have you thought about using proper ETL tools like Alteryx?

Hey Ibendlin, 

The table.Buffer didnt really work. Where exactly do you put the Table.Buffer command? 

Ahamidi180cc_0-1604998004170.png

 

Kind Regards

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Kudoed Authors