SOLVED

Relation between task duration and project calendar work hours

Copper Contributor

This is for project on web. I am not able to figure out how the duration filed sets the task end date. As a test, I created project with project calendar working hours: M to F, 5:00 PM - 9:00 PM (4 hour), no holidays on workdays.

 

When adding tasks and setting duration, the dates does not match the working hours of the calendar.

DRogith_2-1633618337039.png

 

Actual time when exported as Excel:

DRogith_1-1633618104369.png

 

1. Why 6 days (working days) from 11-Oct is 19-Oct and not 18-Oct?

           I was thinking 11-Oct - Columbus day holiday - but it is not set in the calendar. I have confirmed that the resource calendar work hours are set correct to Monday to Friday, and no holidays are set on working days (M-F)

2. Why is Task 5 stating at 10:00 AM instead of expected 5:00 PM?

 

 

14 Replies

@DRogith

You're right, the finish for the first task should be 18 October at 9:00 PM. How exactly did you set the calendar (i.e. screen shot). In particular, what are the working hours for Friday, 15 October and Monday, 18 October. It should show something like this:

2021-10-07_09-16-27.png

 

Task five shows as starting on Saturday which should be a non-working day. The fact that it is starting then tells me your Project, task and/or Resource Base calendars are not set to what you think they are. Try removing all resources from your task and see if that makes a difference. If it does, I suspect one or more Resource Base calendars is incorrect. If removing resource assignments makes no difference, then ther is a problem with the Project calendar settings.

 

John

@DRogith - I'd probably need to see the calendar, know the time zones and the exact steps you took to enter data into the plan, and also know the resource calendars and time zones  (You mention them but do not show any assignments).  Using the steps you describe above I get this plan:

BrianSmith_0-1633644255636.png

Project for the web hard codes the duration into hours, based on 8h being a day currently, so assuming the project start date was set for 10/11 and the duration was entered as 6 days it would generate a finish date of 10/26 - as it takes 12 days to complete the '6 * 8h' based on the 4h per day calendar.  All the others then follow as expected, with the same logic, and my final task also starts at 5pm.  Feel free to open a support call to have one of our engineers dig deeper with you - after all support is included with the subscription.  I also did a couple of recent posts on the calculations on the Project Support blog at https://techcommunity.microsoft.com/t5/project-support-blog/bg-p/ProjectSupport .  For the final task to start at 10am suggests a different calendar is in place on 11/6.  I don't see any assignments but if there are then those assignees calendars would take precedence over the project calendar.  In my case if I assign myself to task five it will then start at 9am.  Maybe your resource for Task Five has a different time zone than you think?

 

BrianSmith_1-1633644738379.png

I've actually got the Project Accelerator loaded so mine looks a little different, but this makes no difference to the scheduling - I chose the default fixed duration schedule mode when creating the project.

 

Best regards,

Brian.

@John - I am using Project on Web. Your screenshot and instructirons are for Project Professional.

 

@Brian-Smith -  All times are in GMT -6:00 Central - work hours are from 5:00 PM to 9:00 PM Central. Screen Shot of the calendar resource attached.

 

DRogith_0-1633646158041.png

 

Steps:

1. Created a generic resource - "Test Resource", and set working hours (see screenshot)

2. Created calendar template "Test Calendar" based on the "Test Resource"

DRogith_1-1633646555374.png

 

3. Created new Project, and assigned "Test Calendar", and start date.

4. Created tasks - entered task name and duration only. (The date columns auto filled on entering duration)

5. No user assignment made.

 

No work hour change in November

DRogith_2-1633646785279.png

 

 

I could not find any ways of torubleshooting what timezone or other assignments being made to the task in backend.

 

 

 

@Brian-Smith - I am curious on how your days were calculated based on 8hr day. But in mine, at least for some tasks I got the expected behavior of duration matching my 4hr workday.

@DRogith it is hard-coded into the product - so entering 6 days generates 48h of work that needs doing.  Also adding resources before/after setting duration can make a difference as the effort in that case may more closely follow to actual hours the resources can work rather than the '8 hour' default.  The devil is in the detail - and the step by step should allow me or another of our support engineers to explain the results you are seeing.  At the heart of this is the same scheduling engine that has been in Project for a long time - so although it may not at first always be obvious why a calculation comes out like it does - there is nearly always a good explanation.  Once you understand how it is working then I think you will get into a pattern of building the schedule and assigning the resources that works as you want and expect it to.

@Brian-Smith  You had mentioned to contact support.

 

What is the appropriate support channel for this issue? The support team via Microsoft 365 admin declined stating Project on Web is out of their scope.

 

I have tested multiple times, and I am seeing similar problem in all my project based on custom calendar.

DRogith_1-1634055357077.png

 

 

best response confirmed by Dale Howard (MVP)
Solution
If you have Project Plan 1,3 or 5 licenses then Project for the web is definitely NOT out of scope for support. You should be able to open a new case via the Microsoft 365 Admin center (or your admin should). If you tried this before - ping me the case number to brian.smith@microsoft.com and I will find out why you were told this. Best regards, and apologies for the delay in responding - just back from vacation, Brian.
Thank you. I have Project Online Plan 3.

IT was difficult to find the support system. Clicking Help and Support in Project led me to different places. The support ticket was transferred from Microsoft 365 Admin team -> SharePoint team -> Power Platform team -> Project online.

Currently it is in under review by the Project team for last 1 week. I get frequent updates that they are still working on it.

I will post an update once the issue is resolved.

The issue is now resolved.

 

The customer support team was helpful in troubleshooting. We had multiple screen share sessions. They applied some patches to the Dynamics 365 environment.

 

Now, I can create new custom calendars that works as expected. The older calendars still give the same problem. But for now, I am good with creating new calendars for the projects.

Excellent news - glad to hear this!

@Brian-Smith We are experiencing the same issue described.

 

Since it was resolved, do we have any other options besides contacting support and going through the same process from the start?

Are you re-applying the calendar after making any changes to the template topaz1625? Changing a template will not change any of the calendars created from that template any more than changing a Word template will update documents made from it. If that doesn't help then yes, open a support incident and we can help explain what is happening - but this probably isn't the same issue from this old thread.

Thanks for the reply @Brian-Smith 

 

You are of course correct regarding changes to the template.

 

Our issue is that even when creating a fresh calendar from a fresh template and then creating a fresh project - the duration is calculated as if there are 8 working hours in each day (in our calendar each day is 10 hours).

Ah, unfortunately topaz1625, that is currently the design of the product. There is always assumed to be 8h effort in a day for duration calculations. If that is an issue then maybe best to hide the column if it gets confusing showing you values you are not expecting. See https://techcommunity.microsoft.com/t5/project-support-blog/constraints-calendars-and-time-zones-in-... for some examples of the calculations, as it isn't quite as straightforward as 8h/Day, depending on resource calendars and constraints (and the fixed start time on the first day). Hopefully we will get some options to set these values at some future time - please log feedback. https://feedbackportal.microsoft.com/feedback/forum/40792262-301c-ec11-b6e7-0022481f8472
1 best response

Accepted Solutions
best response confirmed by Dale Howard (MVP)
Solution
If you have Project Plan 1,3 or 5 licenses then Project for the web is definitely NOT out of scope for support. You should be able to open a new case via the Microsoft 365 Admin center (or your admin should). If you tried this before - ping me the case number to brian.smith@microsoft.com and I will find out why you were told this. Best regards, and apologies for the delay in responding - just back from vacation, Brian.

View solution in original post