cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
DMiradakis
Advocate II
Advocate II

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.