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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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.
| User | Count |
|---|---|
| 16 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |