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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Vin57
Frequent Visitor

Project Task resource allocation table

Hello,

 

I am trying to create a Task allocation heatmap from all the projects we have and our input data is in below first table format,

 

TaskAssigned ToStart DateEnd DateDuration (Days)Allocation (ratio)
Task 1Person 12/23/20242/25/202430.5
Task 2Person 22/25/20243/1/202460.1
Task 3Person 32/27/20243/4/202471

(this table shows the allocation of each day from the start to end)

 

and looking for a output table like shown below.

 

Assigned To2/23/20242/24/20242/25/20242/26/20242/27/20242/28/20242/29/20243/1/20243/2/20243/3/20243/4/2024
Person 10.50.50.5        
Person 2  0.10.10.10.10.10.1   
Person 3    1.01.01.01.01.01.01.0
Total Resources0.50.50.60.11.11.11.11.1111

(this table expands the first table and lets me calculate the total resources planned for each day)

 

It will be really great if i can add a slicer to this for days, weeks, months and year too.

I did search through similar posts here and doesnt depcit any solution like the requirements I have.

 

I will be really greatful if someone can help me with pbix file with solution 🙂

 

Thanks in Advance!

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

This needs a little more work.  You need a calendar dimension and a resource dimension.  Then you can do a cross join and a measure that ties it all together.  Feel free to add months and years etc to the calendar table.

 

lbendlin_1-1708813500463.png

 

 

lbendlin_0-1708813480162.png

 

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

This needs a little more work.  You need a calendar dimension and a resource dimension.  Then you can do a cross join and a measure that ties it all together.  Feel free to add months and years etc to the calendar table.

 

lbendlin_1-1708813500463.png

 

 

lbendlin_0-1708813480162.png

 

Hi @lbendlin , Just now realized that I missed one logic here. How can I make the allocation not to calculate when there's Saturday and Sundays? Is there a way in the date table that I can mark ignore the days (Weekends and Holidays. For Holidays, I can update them manually) so that the allocation doesnt fall in those days.

 

(I am getting all the date input from smartsheet and it auto adds Weekends when I enter the start date and duartion. So the data input is good and because of we use the allocation to full from start to end dates we are adding additional resources)

 

Thank you very much for your time!

In line 3 you can add a WEEKDAY() filter against the [Date]  column.

Thank you very much. This works like charm! 😊

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.