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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Bamak
Helper V
Helper V

Catch dataset via API ?

Hi 

 

Currently ,  I use Premium App metrics to obtain Dataset sizes

Do you know please , if there is a way to get this information via a Power BI API ?

 

Regards

 

Christophe

4 REPLIES 4
v-robertq-msft
Community Support
Community Support

Hi, @Bamak 

Through API in Power BI, you can get the detailed information of your dataset like id, name, refresh info, but the data set size does not seem to be viewable, you can check this document:

https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdataset

 

Best Regards,

Community Support Team _Robert Qin

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Track user activities in Power BI - Power BI | Microsoft Docs

 

CreateDataset/EditDataset/RefreshDataset objects

 

if you already use Premium Capacity Metrics Monitor Power BI Premium capacities with the Premium Capacity Metrics app. - Power BI | Microsoft Do...

 

Table PremiumDatasetSize

 

then you can access that dataset via its XMLA endpoint from Powershell or other apps.

lbendlin
Super User
Super User

You could brute force it by downloading the .PBIX via API call.  But it may be easier to consult the tenant audit logs. They contain dataset size data.

Hi Ibendlin

 

Thank you very much for your answer 

"...But it may be easier to consult the tenant audit logs. They contain dataset size data."

 And  how technically you get this , please  ?   

Current Datasets sizes ?  

 

Regards

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.