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
javieezy
Helper I
Helper I

How to calculate occupation %

Dear all, 

 

Noob here, appreciate your help in advance. 

 

So id like to calculate let's say the density of my warehouse (let's say max capacity 100 units). This max capacity is not included in the data file. 

 

I have a data file of all the actual units in the warehouse, each row of the data file represents 1 unit. 

 

Let's say I have 50 rows of data, my density would be 50/100. 

 

So how could I introduce the value of Max capacity (100) in the calculation? I prefer not to add a column containing the value. 

 

Thank you

 

This is how my data is. 

 

javieezy_0-1620228217537.png

 

1 ACCEPTED SOLUTION

@javieezy , You can create a measure like this and use ?

measure = 100

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@javieezy , is it static or based on rows.

 

Meausre = count(Table[ID]) *100

 

or

measure = 100

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Dear @amitchandak 

 

I think it's static. 

@javieezy , You can create a measure like this and use ?

measure = 100

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I got it! It's so easy! Thx! 

@amitchandak  "100" is my warehouse capacity, which is fixed, would not be changed.  

 

May I know how to create a measure like this? 

Helpful resources

Announcements
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!

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.

Top Solution Authors