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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.