Forum Discussion
BryanYang
6 years agoMicrosoft Employee
Get datasets size in a tenant programmatically
Is there a way to get regular dataset size (not in Premium capacity) programmatically other than get it manually via “Manage group storage” menu in each workspace?
- 6 years agoHi BryanYang,
as far as I know, the size of a dataset is not something we can get programmatically. You can refer to the documentation of the Power BI REST API:
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdataset
timahenning2
2 years agoHelper II
It would be a pretty good idea to add the ability get the dataset size to the API. Large datasets can be candidates for dataset optimization; reduce the load for Power BI Service data refreshes. Admins could monitorn the dataset grow rate and reach out to the developers.