cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DMiradakis
Advocate I
Advocate I

Power BI REST API Pagination

Hey Power BI Community,

 

I've got a small question I need clarified. The official Power BI REST API documentation does not mention anywhere on how to handle pagination from requests to the Power BI REST API.

 

For example, if I'm querying a list of all of the workspaces in my Power BI tenant, and there are 100+ of them, the documentation does not mention how to handle pagination anywhere.

 

Am I correct in assuming that, given my example, all 100+ workspaces would be returned in my API request? In other words, pagination does not exist in the Power BI REST API?

 

Any clarification would be greatly appreciated.

 

Thank you!

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

This documentation 

Groups - Get Groups - REST API (Power BI Power BI REST APIs) | Microsoft Docs

explicitly mentions pagination. $skip = offset, $top =limit

GET https://api.powerbi.com/v1.0/myorg/groups?$filter={$filter}&$top={$top}&$skip={$skip}

 

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

This documentation 

Groups - Get Groups - REST API (Power BI Power BI REST APIs) | Microsoft Docs

explicitly mentions pagination. $skip = offset, $top =limit

GET https://api.powerbi.com/v1.0/myorg/groups?$filter={$filter}&$top={$top}&$skip={$skip}

 

Helpful resources

Announcements
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors