We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I need to paginate through a dataset that has a 'next' value of the last DocumentId in each page of data.
How can I create a query that lets me do the following:
1) Loads initially a 1st URL that contains the root search query (i.e. has no filter on DocumentId)
e.g. www.test.com/powerbi/search
2) From this first page, get the last DocumentId. (This takes a few transformation steps)
3) Load the next page with a 2nd URL which contains a filter for DocumentId = the last DocumentId from the previous page.
e.g. www.test.com/powerbi/search?$cursor=LastDocumentIdFromPreviousPage
4) Keep repeating steps 2) and 3) until there is no more data.
I've tried to look into this but can't find an example which shows how to have step 2) occur using multiple transformation steps (not just a single step). Thank you.
Hey!
Here's an article that might help you:
Helper functions for M extensions for Power Query connectors - Power Query | Microsoft Docs
Best!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 6 |