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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
bigmac025
Frequent Visitor

Distributing Total Project Task Time over Date Range Evenly

Hello,

 

I have a power bi question. I have project data that specifies the start and end date of the project task and the time that it is going to take between those two dates to complete the task. I would like to take the time to complete the task and spread it evenly over the days from task start date and end date. The data comes in from the API like this for example.

 

Project Task NameStart DateEnd DateTotal TimeTask Owner
Task 15/4/20255/10/2025700 MinutesTim
Task 25/6/20255/12/2025700 MinutesTim

 

700 minutes / 7 days = 100 minutes per day working on task 1

 

I need the data something like this so I can add the amount of minutes per day each person is working on project tasks in Power BI.  

Task OwnerDateTotal Time

Tim

5/4/2025100 minutes
Tim5/5/2025100 minutes
Tim5/6/2025200 minutes
Tim5/7/2025200 minutes
Tim5/8/2025200 minutes
Tim5/9/2025200 minutes
Tim5/10/2025200 minutes
Tim5/11/2025100 minutes
Tim5/12/2025100 minutes

 

I can then create a visual showing how many task minutes Tim is working each day.

 

Doesn't have to be exactly like this, just giving an example.  There may be a better way to do this.

 

Any help would be apprecatied.

 

Thanks,

Tim

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

here is a crude version without totals

 

lbendlin_0-1743206450618.png

 

Here's a bit more sphisticated with totals

 

lbendlin_1-1743206760621.png

 

Of course you will want to add a proper workday logic to this too to exclude weekends and holidays.

View solution in original post

3 REPLIES 3
bigmac025
Frequent Visitor

Thank you @lbendlin.  It took me a few days to validate with actual data but it works great.  I just need to use only business days in my calculation.  This is a great solution!

v-kpoloju-msft
Community Support
Community Support

Hi @bigmac025,

May i know has your issue been resolved? If the response provided by the Super user @lbendlin, addressed your query, could you please confirm? It helps us ensure that the solutions provided are effective and beneficial for everyone.

If yes, kindly accept the useful reply as a solution and give us Kudos. It would be appreciated.

Thank you for your understanding!

lbendlin
Super User
Super User

here is a crude version without totals

 

lbendlin_0-1743206450618.png

 

Here's a bit more sphisticated with totals

 

lbendlin_1-1743206760621.png

 

Of course you will want to add a proper workday logic to this too to exclude weekends and holidays.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors