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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

REST API pagination & filtering

Hi everybody,

It's my first time using a REST API as a data source and this is my situation:

 

1. Pagination: I've figured out how to use a parameter to loop through pages since each page allows only 500 rows. I've followed this blog https://adatis.co.uk/Loop-through-Multiple-Web-Pages-using-Power-Query/ and the pagination works pretty good. The only challenge now is that I need to have a dynamic table that has the right number of pages (maybe counting my records?) instead of what I have right which is a fixed number of pages.

2. Power BI limitation of importing 10,000 rows from an API call for Pro Users. I need to import around 250,000 rows and I'm trying to filter my data source on the query script so I can use multiple calls with less than 10,000 records each , for example:  https://source.com/api/v4/orders?carrier_name=fedex&per_page=500&page=
But the result does not change...Is it something that my developer has to give me permission to use as a filter? The parameters that I'm using are actual columns on my API so I'm not sure why it does not work. Is there another way of doing this?

 

Thank you! 

6 REPLIES 6
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

where did you find the limitation of importing 10,000 rows from an API call?

 

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Anonymous
Not applicable

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

this limitations are for the Power BI Service Rest API not for other "Source" Rest APIs.

 

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Anonymous
Not applicable

Hi Marcus,

 

Do you mean that if I'm using other source Rest API I should be able to retrieve more than 10,000 rows?

 

But when I try doing it the result is limited to 10,000 even though my table has over 20,000 rows. Do you what could be happening?

 

Thanks!

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous,


is your problem solved?
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

yes I think so.

 

Maybe your source has limited itself.

Is there documentation for the service / interface?

Have you already tested the response with another client (browser).

 

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.