Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello I am trying to load my dataset from api. Records are saved in pagination formate. Data is loaded successfully but I am unable to work with all record set (700 rows, from 7 pages) its just loading records from 1 page and 100 rows. How can I get 100% records. Following is my query:
= Json.Document(Web.Contents("https://xyz.com?total_pages", [Headers=[#"key"="token=xyz", Xemail="[email protected]", #"Content-Type"="application/Json"]]))
Thanks,
Hassan
Solved! Go to Solution.
Hi Hassan,
Have a look at this thread I answered a while back to see if it can help you:
https://community.powerbi.com/t5/Power-Query/How-to-deal-with-paginated-API/m-p/3222229
The key is to find the total amount of records available in your endpoint, create a column separated into page size values up to the total number of records, then run the API query against each page row.
Pete
Proud to be a Datanaut!
Hi Hassan,
Have a look at this thread I answered a while back to see if it can help you:
https://community.powerbi.com/t5/Power-Query/How-to-deal-with-paginated-API/m-p/3222229
The key is to find the total amount of records available in your endpoint, create a column separated into page size values up to the total number of records, then run the API query against each page row.
Pete
Proud to be a Datanaut!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |