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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Kumar11109
Helper IV
Helper IV

Extract data from PowerBI

Dear All, 

 

I need to extract data from power bi, but I need to that without sampling of data occuring. Please help me. If R can be ustilised then I am sending you the code that I wrote by reading a blog. But it is showing a very long error. I have never used R. 

 

Thank You, Screenshot (1).png

 

Screenshot (2).png

 

 

 

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Kumar11109,

 

According to the error message, you may need to firstly install the 'gdata' package with R Studio(or other R GUI tools), in order to run the r script in Power BI Desktop. Here is an article about how install R Studio and R packages for your reference.

 

Note: There is also a limitation for using R in Power BI that data used by the R visual for plotting is limited to 150,000 rows. If more than 150,000 rows are selected, only the top 150,000 rows are used and a message is displayed on the image.

 

In addition, here is the idea for increasing Export Data Limits. You can vote it up and add your comments there to improve Power BI on this feature. Smiley Happy

 

Regards

@v-ljerr-msft

 

But I have already installed R Studio, and required gdata package. But it still showing this message?? :-C

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.