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
ClevHR
Regular Visitor

Creating a loop for API call with __next property to get next set of records

Hi All,

Working with an API which has a limited response of 1000 records.

If there are more, a __next property will be given. Calling this link will provide the next 1000 records, etc.

Although there are some similiar requests on the community, i didnt managed to connect the dots yet.

 

My goal is to get the data from all _next property links and turn the response data into a table.

See below for further explanation.

 

Thanks!!

Bas

 

Example code:

let
    Source = Json.Document(Web.Contents("<LINK>?$format=json", [Headers=[Authorization="Basic <Auth.Code>"]])),
    d = Source[d]
in
    d

 

 

PowerQuery (GIF).gif

2 REPLIES 2
pareshredkar
New Member

The link doe not explain the solution. Is ther any solution>

v-frfei-msft
Community Support
Community Support

Hi @ClevHR ,

 

Hope the third party article can help you.

https://support.socrata.com/hc/en-us/articles/202949268-How-to-query-more-than-1000-rows-of-a-datase...

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

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.