hello! we are wondering if there is a way that you can pull a report showing how long (duration) a task is in each task status. We are wanting to show how long a task is in review vs development - any help appreciated!
Hi,
This is possible to achieve, but it will involve adding calculated fields to your projects that capture a timestamp of when the project was set to a particular status. You would then be able to measure the difference between these timestamps and work out the duration that the project was in that particular status.
See this previous post here for a more detailed explanation and some example textmode you can use.
Best Regards,
Rich.
Views
Replies
Total Likes
We accomplished something similar by creating calculated fields on the task to timestamp the changes. This is not quite what you asked (duration) but you may be able to modify and split the calculation into separate fields to get what you need.
It required two custom fields.
1 DE:Current Status
IF({status}="NEW","New",IF({status}="INP","In Progress", IF({status}="AWF","Awaiting Feedback", IF({status}="CPL","Complete", IF({status}="ONH","On Hold", IF({status}="COM","Complete",{status}))))))
Create this first, save and close the form before adding the next calculated field..
2 DE:Status History
LEFT(IF(LEFT({DE:Status History},LEN(IF(ISBLANK({DE:Current Status}),"-",{DE:Current Status})))={DE:Current Status},{DE:Status History},CONCAT(IF(ISBLANK({DE:Current Status}),"-",{DE:Current Status})," (",$$NOW,") | ",{DE:Status History})),2000)
IF({status}="INP",30,IF({status}="NEW",10,IF({status}="CPL",40,IF({status}="AWF",20,IF({status}="ONH",50,IF({status}="BQC",60))))))
I agree with the timestamp calculated field to capture the date of the status change. You could then use a calculation on a report to display the DATEDIFF between each of the timestamps.
For example, if the timestamp captured for the Review status is 03/01/2024 and the timestamp for the Development status is 03/15/2024, use the following calculation in text mode:
valueexpression=DATEDIFF({DE:Timestamp Dev Status},{DE:Timestamp Rev Status})
If the need is to see just week days between the two dates, use WEEKDAYDIFF in place of DATEDIFF.
Views
Replies
Total Likes