Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |