cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
holydragon
Frequent Visitor

Determine Employee work time by month given a start and end date and FTE Assi

Hello,

 

I am trying to calculate a few project related statistics.

 

Capture.JPG

 

I have multiple employees working across multiple projects.  Multiple employee can work on the same project and each employee can have multiple projects.

 

Given the project name, employee start date, employee stop date, employee effort, and employee name how do I calculate the following:

 

1) Amount of time spent on a given project by month

2) Amount of time expended by a given employee by month

 

Kind Regards,

HD

2 REPLIES 2
amitchandak
Super User
Super User

Please share some sample data. If possible please share a sample pbix file after removing sensitive information.Thanks.

My Recent Blog -

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Anonymous
Not applicable

For first question try below measure.
Create one column which tell the current month of project and use this in summerize measure else you can check the month in dax only.

Measure=Sumx(summerize(table,table[projectname],month(table[startdate],table[efforts]),table[efforts])


For second question, just replace projectname column with employee name in above measure.

Thanks and regards
Pravin Wattamwar

If it resolves your problem mark it as a solution and give Kudos.





Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors