Forum Discussion
Power Query and pagination
- 3 years ago
Your problem is very similar to this one
Solved: Need Help with Stripe REST API Pagination in Power... - Microsoft Power BI Community
You can try this code which of course needs a little modification to include your URL
let APICall = List.Generate ( () => [ APIData = Json.Document(Web.Contents("insert subdomain.zendesk.com here")) , EndData = APIData[end_of_stream] ], each [EndData] = "FALSE", each [ APIData = Json.Document(Web.Contents("insert subdomain.zendesk.com here")) , EndData = [APIData][end_of_stream] ], each [APIData] ) in APICallRegards
Phil
Hi, PatrickArrastia ;
If you use pagination, consider using Power BI Report Builder;
Power BI Report Builder - Power BI | Microsoft Learn
According to my understanding, you mean that when "end_of_stream" value = true, the later data will not be displayed, only the previous data will be displayed, right?
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- PatrickArrastia3 years agoRegular Visitor
Hello!
Thank you for your reply, your understanding is correct. Is there a way to achieve this by only using Power Query in Excel?