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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
ameya1
Frequent Visitor

Fabric Capacity metrics data REST API or alternate ways to pull it

I have quite a few activities going on on Power BI. I have admin access and want to be able to pull in information like CPU usage, usage spike with respect to time etc. I came across an inbuilt app that has an inbuilt dataset that creates such graphics. It was Fabric Capacity Usage metrics. Now I want pull this data supporting these visuals and periodically save it in an object storage solution. Is there a REST API available to pull in this data from the Fabric Usage Capacity Metrics app? If such an API is not available, what are some ways by which I can pull this data in python?

4 REPLIES 4
AmiraBedh
Super User
Super User

If you are familiar with the execute queries REST API you van retrieve the data you want with DAX   https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries

 


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Thanks for your reply Amira

However, I saw that this approach has limitations of 1million data items.

Is there any other method that does nto have such limitations?

If your dataset is  large, consider using paginated reports. In this case yoy can automate getting data of REST API endpoints related to reports and exports. 
I can't see any other alternative.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Could you please share links to how I can paginate reports in api?
I don't quite understand what paginated reports are so if you could briefly describe how it is done in this context that would be very helpful.

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.