Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have one API which give a paginated response as
{
value: [object]
nextapi: api
}
Now for example if the total number of records are 100. Then in first run it will return 10 records and api to get the next 10 records will be in the nextapi variable. So, I need to call it in loop and till there is nextapi available in response loop should continue and append the data. Below is my code,
But I am getting below error when fired the function
If your API has skiptoken or offset capability, you could consider this alternate approach.
Power BI - Tales From The Front - REST APIs - YouTube
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 12 | |
| 10 | |
| 7 | |
| 6 |