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
Hi,
I'm connecting to an API which have a 500 row limit. There are separate columns in the returned json that states how many rows there are in the current search, and how many there are in total (see screenshot below)
I have read through posts like this:
https://community.powerbi.com/t5/Desktop/how-to-create-a-query-that-paginates/td-p/20047/page/8
But cannot find a solution on how to implement the suggested solutions in the post into my scenario.
I can set the limit and offset in the API URL with limit=500&offset=500 (500 would be for the second loop) manually, and it would give me the correct results. But I obviusly want it to loop through the search until the total rows avaliable limit has been reached..
Any help would be appreciated.
Solved! Go to Solution.
Please see this video. It walks through how to do this by first creating a list of numbers/offsets.
Power BI - Tales From The Front - REST APIs - YouTube
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Thanks, worked like a charm
Please see this video. It walks through how to do this by first creating a list of numbers/offsets.
Power BI - Tales From The Front - REST APIs - YouTube
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
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.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 7 | |
| 7 | |
| 5 |