Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Calculate Project Resources

Hi

I’m having trouble caluclating total resource allocation per month

 

I have a resoucre table that contains.

  1. Project Ref (unique project ID)
  2. Role (e.g. Project Manager)
  3. Required FTE = Resource Allocation (decimal value per day e.g. 0.1 to max of 1)
  4. Start Date = Resource Start Date (DD/MM/YYYY)
  5. Finish Date = Resource Finish Date (DD/MM/YYYY)
  6. Today's Date (DD/MM/YYYY)
  7. Sponsor (Name, Surname)

I'm trying to breakdown the date range into months and show the total resource allocation (sum) per Project Ref from Todays Date until the Finish Date.

Any help appreciated.

Thanks

Glen

 

 

5 Replies

  • Please provide sample data in usable format (not as a picture - maybe insert into a table?) and show the expected outcome.

    • Anonymous's avatar
      Anonymous
      Not applicable
      Project RefRoleRequired FTEStart DateFinish DateTodays DateSponsor
      Q0023PM0.112/08/201927/03/202031/08/2021A
      Q0023PM0.130/03/202008/06/202031/08/2021A

      K4023

      PO101/07/201830/06/202231/08/2021B

      K4038

      PD0.216/11/202030/09/202231/08/2021C

      This is what I have - What I'd like to create is a month by month column that shows the Required FTE for each month between todyas date and the Finish date. e.g.

      Project RefRoleRequired FTEStart DateFinish DateTodays DateSponsorAugust  2021

      September

      2021

      October 2021

      November 2021

      Q0023PM0.112/03/202027/08/202131/08/2021A0.1   
      Q0023PM0.130/03/202008/09/202131/08/2021A0.10.1  

      K4023

      PO101/04/202030/08/202231/08/2021B1111

      K4038

      PD0.216/11/202030/09/202231/08/2021C0.20.20.20.2

       

      • lbendlin's avatar
        lbendlin
        Super User

        As Anonymous mentioned you need a calendar table. Since your start and end dates do not adhere to month boundaries your calculations need to be on day level. That also means that the values you show in your expected results are not accurate.

         

        Are you planning to consider working days for each month? Do all working days have the same number of hours?

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous 

    You can have a calendar date. Can be something like :

    Measure =calculate(sum([Required FTE], filter(calendar table, [date].[month]=max([date].[month])))

     

    And please share a sample table for more accurate solution.

     

     

    PaulZheng _ Community Support Team
    If this post helps, please Accept it as the solution to help the other members find it more quickly.