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

Get all records from all API pages

Hi community,
I am running into an issue with going through all results with a GET API call. The API call will only return 10,000 records along with a pagination NEXT token that can be passed as a parameter to the API call to fetch the next 10,000 records. This will repeat until the API call returns no NEXT token, which means it reaches the end of the results. I dont have much experience in Query Editor to implement it and hope you could share what you did to achieve the looping to get all records. 

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , refer

https://www.daytodatastuff.co.uk/blog/creating-loops-in-m

or

https://medium.com/@marktiedemann/how-to-do-pagination-in-power-query-430460c17c78

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.