Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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="xyz@gmail.com", #"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!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
13 | |
8 | |
8 | |
7 |
User | Count |
---|---|
17 | |
13 | |
7 | |
6 | |
6 |