This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi, Everyone I hope you all are fine.
API URL: https://vcc-na8.8x8.com/api/stats/agents/{Aent-ID}/activities?n=(offset)
Background: Reference to the URL above I am trying to extract data from this API which allows me to add the Agent-ID and provide only 50 rows per request.
I have created this function below which is working perfectly fine and allows me to extract all the id's by using invoke function against those id's in new table, PFB,
But when I use it in List. Generate function in order to do the pagination of these id's it shows the empty list, PFB
I also created this function below in order to extract all the id's and rows at the same time but it provide infinite loop of tables.
Any Power query expert who can loo into it solve my problem.
Thanks in advance.
Solved! Go to Solution.
Hi @Anonymous ,
You may kindly refer to:Iterate over dynamic Web API Pages with Power Query - How to resolve Cursor-Based Pagination - DataC... to learn how to implement Cursor-Based Pagination using List.Generate to extract large data sets from Web APIs.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You may kindly refer to:Iterate over dynamic Web API Pages with Power Query - How to resolve Cursor-Based Pagination - DataC... to learn how to implement Cursor-Based Pagination using List.Generate to extract large data sets from Web APIs.
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.