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
DaveHy
Frequent Visitor

Calculating Man Hour Utilization for each employee by Labor Type.

I have built my report that tracked entries from different "Home Stations" around the world. Those reports feed my PBI. 

The reports log, Date of task, Labor type ( Direct, Indirect, and Training) along with the time spent on that task. " Duration". 

The reports are by Site and not by employee, "Supporting FSR".  Some employees are no longer on contract, but I still need to report on their past activities 

Here are my tables :

  • Appended queries of all 34 reports broken down, Each Query look exactly the same. See example table below.
  • DateHome StationSupporting FSRLabor TypeContact TypeCategoryDuration (Hr)
    1/1/23OkinawaJoe SuffyDirect Support RequestedEngine3.0
    1/2/23Camp PendletonChris CarsonIndirectAdminReport1.5
    1/3/23Wala Wala, WAGeorge JetsonTrainingFormalFLMNET8.0

(Due to ITAR, CUI, and other regulations I cannot post a Snip of that table.)

 

  • Service dates by employee “FSR POP”-
NameLocationStart DateEnd Date
Joe SnuffyOkinawa1 April 20221 OCT 2022
Chris CarsonCamp Pendleton6 Jun 202228 Feb 2023
George JetsonWala Wala, Washingtion1 April 2022Current
  • Tables for each region that sum the duration column and group by “Supporting FSR” and then “Labor Type” -column are named just like that as well  Supporting FSR- Labor Type -Duratio
  • Date Supporting FSRHome StationLabor TypeDuration
    1/1/23Joe SnuffyOkinawaDirect5.3
    1/1/23Joe SnuffyOkinawaIndirect1.0
    1/1/23Joe SnuffyOkinawaTraining2.7
    1/1/23 George JetsonWala Wala, WADirect6
    1/1/23George JetsonWala Wala, WAIndirect1
    1/1/23 Chris CarsonCamp PendletonTraining7
    1/1/23 Chris CarsonCamp PendletonDirect1

(Due to ITARs I cannot post a Snip of that table.)

I need to use these tables to calculate the number of hours assigned M-F, 8 hours per day, between the start and end dates of each person, excluding Federal holidays that I have listed in another table.

 

Desired Result would look something like this. 

DateNameHome StationLabor TypeAssigned HoursLogged HoursUtl Rate
1/1/23Joe SnuffyOkinawaDirect85.366.2%
1/1/23Joe SnuffyOkinawaIndirect81.012.5%
1/1/23Joe SnuffyOkinawaTraining82.733.7%
1/1/23 George JetsonWala Wala, WADirect8675%
1/1/23George JetsonWala Wala, WAIndirect8112.5%
1/1/23 George JetsonWala Wala, WATraining800%
1/1/23 Chris CarsonCamp PendletonDirect8112.5%
1/1/23 Chris CarsonCamp PendletonIndirect8787.5%
1/1/23 Chris CarsonCamp PendletonTraining8112.5%

I am asking a lot and giving a little. I know  

3 REPLIES 3
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Do my changes meet the requirements. Please advise

 

Please check the sample data for Chris Carson  Camp Pendleton.  Something's off in the expected result.

 

You don't need to post any actual data.  Sample data will be fine. Remove anything PII or confidential.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 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.