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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
luanlopes
Helper I
Helper I

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? 


12 REPLIES 12
Murtaza_Ghafoor
Resolver II
Resolver II

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.

danextian
Super User
Super User

Hi @luanlopes 

I am not sure with API but you can check on system storage under workspace settings.

danextian_0-1762832627040.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Yeah @danextian, I know about it but I want to check this point using some API (PowerBI or something like that) or CLI... 

Hey @danextian, thanks for the answer, but I'm trying to see the same number I see when I open the Workspace settings -> System Storage (API).

lbendlin
Super User
Super 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?

Hi @lbendlin

Thanks for the reply I’m actually trying to retrieve that same number (shown under Workspace settings → System Storage) through an API.

Understood. But why? What are you doing with that number once you get it?

I will use this number in my rule business and is important to us...

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com

Hi @luanlopes 

Thank you for reaching out to the Microsoft Fabric Forum Community.
@lbendlin @sergej_og @danextian @Murtaza_Ghafoor Thanks you so much all for your inputs.

@luanlopes Thank you for letting me know that you have submitted this as an idea.

Thanks.

sergej_og
Super User
Super User

Load the data into your model and save the file. Then look at the file size (.pbix) (compressed size).

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors