Forum Discussion
How to know dataset size with API?
Hey,
I need to create a logic in my software but with my datasets, but i need to know the size of my dataset, how can i do that?
If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com
12 Replies
- sergej_ogSuper User
Load the data into your model and save the file. Then look at the file size (.pbix) (compressed size).
- lbendlinSuper User
You need to take the quality and compressibility of your data into account. There is a big difference across semantic models, and a big difference between disk size and memory size.
What are you ultimately trying to achieve?
- danextianSuper User
- Murtaza_GhafoorSuper User
This is the standard API formar to get the data size
https://api.powerbi.com/v1.0/myorg/groups/{workspaceId}/datasets
Or you can use fabric capacity metric app to check the size of of your data models/semantic models.