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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.