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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.