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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Calculating a Percentage to Capacity

Hi All,

 

I am attempting to calculate the percent to capacity my employees are in terms of reaching their capacity goals. I have a measure that uses a DISTINCTCOUNT to calculate how many jobs they currently have on their plate, but am not able to to get the % of jobs to job capacity they currently sit at.  The Job Capacity metric is its own column, and a single person only has one Job Capacity goal (despite it being listed in every row that they are listed in).  See below for sample table - any thoughts on a simple fix?  The output for the below should have John at 60%, Beth at 100%, and Larry at 25%.

 

NameJob NumberJob Capacity
John13565
John45325
Beth67533
Larry22354
Beth78643
John45445
Beth76673

 

 

Thanks in advance! much appreciated.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Resolved - no further help needed.

 

Turns out I was trying to pull in a column from another table that was ultimately merged into my main table - so I needed to be using the merged field instead of the original.  Calculation was very simple once that was sorted out:

 

%toCapacity = DISTINCTCOUNT(Table[Job_Number]) / AVERAGE(Table[Job_Capacity])

View solution in original post

3 REPLIES 3
AlfredvdM
Regular Visitor

Where can I see the Solution?

Anonymous
Not applicable

Turns out I was trying to pull in a column from another table that was ultimately merged into my main table - so I needed to be using the merged field instead of the original.

 

Calculation was very simple once that was sorted out:

 

%toCapacity = DISTINCTCOUNT(Table[Job_Number]) / AVERAGE(Table[Job_Capacity])
Anonymous
Not applicable

Resolved - no further help needed.

 

Turns out I was trying to pull in a column from another table that was ultimately merged into my main table - so I needed to be using the merged field instead of the original.  Calculation was very simple once that was sorted out:

 

%toCapacity = DISTINCTCOUNT(Table[Job_Number]) / AVERAGE(Table[Job_Capacity])

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.