Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!