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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors