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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors