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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Calculate % in a table with different denomitors

I have a table with data for 10 different locations string bins. Each location has a storage bin capacity

 

I want to :

 

Location (1) actuals bins / bin Capacity (1)

Location (2) actual bins / bin capacity (2)

etc

etc

 

I want the table to show:

 

Location        Actual Bins        Capacity       % Capacity

1                     4                       10                40%

2                      5                       15                33%

3                     10                       100              10%

 

Any help would be greatly appreciated. Thx

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

HI @Anonymous ,

You can create a new table based on table 1 and add new column to lookup tbale2 values:

Table 2 =
ADDCOLUMNS (
    T1,
    "Capacity", LOOKUPVALUE ( T2[Capacity], T2[Location], T1[Location] )
)

Then you can use divide function to calculate the '%loading':

% Loading = DIVIDE([Actual],[Capacity])

21.png

Regards,

Xiaoxin Sheng

View solution in original post

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

What does your source data look like?  Share it here so that i can paste it in an Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

ok thx

 

Query 1LocationActual  
 15  
 210  
 315  
 420  
     
     
Query 2LocationCapacity  
 110  
 220  
 320  
 450  
     
     
TableLocationActualCapacity% Loading
 151050%
 2102050%
 3152075%
 4205040%

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

HI @Anonymous ,

You can create a new table based on table 1 and add new column to lookup tbale2 values:

Table 2 =
ADDCOLUMNS (
    T1,
    "Capacity", LOOKUPVALUE ( T2[Capacity], T2[Location], T1[Location] )
)

Then you can use divide function to calculate the '%loading':

% Loading = DIVIDE([Actual],[Capacity])

21.png

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.