Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
KjoniX2
New Member

Rest API pagination

I try to retrieve records from a Rest API in PowerBI, but struggle to get all pages. 

 

The API supports parameters &count and &from, and naked api calls gives this what seen in screenshot.

Default count is 1000, and and max count is 100 000. Yes, for this example I am below 100 000 and will get all records with ?count = 100000, but I have tables that contains more than 100 000 records.

 

How can I utilize fullResultSize, from and count to achive all records? 

 

Skjermbilde 2023-12-31 191456.png

1 REPLY 1
lbendlin
Super User
Super User

in your example you would fetch the first 1000 rows, then note the fullResultSize, and create a list {1000,2000,3000,4000,5000,6000,7000}. Then you would run seven more API calls, each with the "From" set acordingly.  Lastly you would combine all the results of the eight API calls.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.