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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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...

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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