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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Load all pages from Web API

Hi guys

I know this was discussed many times and I find a lot of links that illustrate possible solutions, but I am not in the position to translate those solutions to my problem:

I have a web API call for "tickets" which generally returns only 100 rows per page in JSON Format. I'd like to get all pages in, incl. the possibility to refresh from the Power BI Service. So I need to iterate through all pages until the response of the API in "next_page" is Null.
03-10-2019 16-53-44.jpg
Can anyone tell me the M Code required to get to that full list of tickets? 

Thanks a lot for the help! I spent hours investigating this challenge on the web and could not find a lead....


1 ACCEPTED SOLUTION
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

After research, there is a blog discribed how to implement REST API pagination with m query.It is a similar thread for your reference.

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

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

After research, there is a blog discribed how to implement REST API pagination with m query.It is a similar thread for your reference.

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

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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