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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.