Blog Post

Project Blog
2 MIN READ

Monitor Resource Allocation with Project Power BI Template

PriyankaSadana's avatar
PriyankaSadana
Former Employee
Jun 28, 2021

One important function of a resource manager or a project manager is to monitor the assignments for each of their resources so that they can effectively balance their team’s workloads while minimizing overallocation. To efficiently manage the resources and make necessary adjustments, project managers or resource managers need to be able to view their workloads and availability.

 

The Power BI Report Template for Project for the web provides a solution for powerful and effective resource management. A “Resource Allocation” report page has been added to the Power BI Template. This report can help answer questions such as how much work is allotted to a resource each day, what are the active tasks a resource needs to work on, or what are the future tasks allotted to a resource.

 

Where can you find the resource allocation report?

You can find the updated report here: aka.ms/ProjectReports 

You can also build an allocation report on top of your previously downloaded and customized report pack by following the steps below.     

 

How to build the allocation report?

To build a resource allocation report, you will need resource timephased data. The time phased data is stored in the Resource Assignment table . Follow the steps to get work allocated to a resource for each day:

 

1. Open your Project for the web Power BI Template in Power BI desktop app

2. Create a new blank query and use the “Resource Assignment Staging” table as the source

3. Remove the columns that are not needed but keep msdyn_bookableresourceid, msdyn_plannedwork, msdyn_projectid, msdyn_resourceassignmentid, msdyn_taskid.

 

 

4. Filter out any msdyn_plannedwork rows for non-null values.

 

 

5. Transform msdyn_plannedwork column to JSON.

 

 

6. Expand the List data in msdyn_plannedwork to new rows and then expand data in the records (End, Hours and Start).

 

 

7. Remove the “/Date(“ from the End and Start columns using the Replace Values function.

 

 

8. The end and start are milliseconds from midnight 1970/01/01. To convert them into the required date format, add a new custom column to calculate the End and Start date from the milliseconds value.

Planned Work End= #datetime(1970,1,1,0,0,0)+#duration(0,0,0,[PlannedWork.End]/1000)

 

 

9. Change the type of new columns to Date.

 

That’s it, now you can build any visualization on top of this data that you prefer.

Please submit feedback through in-app feedback button on new scenarios you would like in your Power BI Template for Project for the web.

Updated Jun 28, 2021
Version 1.0

9 Comments

  • htunjalu's avatar
    htunjalu
    Copper Contributor

    hello, Where can I download the Resource Assignment table?

  • boult13's avatar
    boult13
    Copper Contributor

    I seem to be getting the same problem - the new custom column created results in an error, even after removing all characters except the numbers from plannedwork_Start and End and converting those columns to decimal. Perhaps the remaining numbers are not in a transferable format? 

     

    Has anyone picked up a solution for this yet?

  • fabianmicrosoft's avatar
    fabianmicrosoft
    Copper Contributor

    I think this is exactly what I need for my Projects.

     

    However, I followed all the steps and unfortunately it doesn't seem to work. My Custom Column 'Planned Work End' displays 'Error' (in yellow) in every row. I also cleaned the plannedwork_ Start and End columns with all '(', ')' and '/'.

     

    Any suggestions on how to fix this issue? 

     

    Thanks! 😉

  • integent-dbell's avatar
    integent-dbell
    Copper Contributor

    Though there may be another way, ingrid596, what I have done for this scenario in the past is go to the Model for the Power BI report where all the tables show up, and bring the table that contains those field into the model (again).  They will most likely already be present in the model already.  Merely create (if not automatically done so) the same relationships to other tables.  Those tables/field will then show up in the field picker list to add to your report(s).

     

    Hope this makes sense.

     

    -Daniel Bell

    https://integent.com

     

  • ingrid596's avatar
    ingrid596
    Copper Contributor

    I have created new fields in the Project Accelerator, how do I access them in Power BI? If anyone has any suggestions what I should do I would be very thankful.

    //Ingrid 

  • AndrewNorris's avatar
    AndrewNorris
    Brass Contributor

    I get 'Loading blocked by failures with other queries' errors when importing the template into Power BI.

    I created a new environment and get the same.

     

  • integent-dbell's avatar
    integent-dbell
    Copper Contributor

    FYI to those doing this exercise.  for step 7 I also had to remove the parenthesis on the right side of the number then convert to a decimal to get step 9 to work.  Though this should be obvious I did not see it in the instructions above.

     

    If anyone has a different experience please advise.

     

    -Daniel Bell

    INTEGENT LLC

    https://integent.com/

  • integent-dbell's avatar
    integent-dbell
    Copper Contributor

    Nice to see this type of report.  Much needed for Project for the Web

     

    -Daniel Bell

    INTEGENT LLC

    https://integent.com