Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

duration tracking for each stage in tasks

(0) ShareShare
ReportReport
Posted on by 160

Hi everybody,

I have a case in one project and i want to see the amount of time in which state a task was, till it is completed. I have this field on the task entity: 

4aaae4cd_2D00_4684_2D00_4791_2D00_af7a_2D00_c8330ef0ec50.png

When a task is set to a status "Not Started", "In Progress" or "Waiting on someone else" the fields should be calculated in hours and minutes for how long they were in this status. 

Does anybody have an Idea how to implement it best? Does a calculated field help me solve this problem?

Thank you in advance!

Best Regards

  • kunihih Profile Picture
    on at
    RE: duration tracking for each stage in tasks

    Hello Elpibato

    I think you need the separate the two time parameter values with a comma and not a minus sign.

    ie.   DIFFINHOURS(NOW(), tv_timetochangestatus)

    docs.microsoft.com/.../define-calculated-fields

  • Elpibato Profile Picture
    160 on at
    RE: duration tracking for each stage in tasks

    Hi Kunihiko,

    Thanks for your suggestion!

    Thanks!!

  • Suggested answer
    kunihih Profile Picture
    on at
    RE: duration tracking for each stage in tasks

    The following is my suggestion:

    1. Create a field that will hold the time at which the Status Reason was changed.

    2. Create a workflow that will set this field to the current time whenever the Status Reason is altered.

    3. Create a calculated field that will display the difference between the current time and the value found in the field created/set in steps 1 and 2.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Holly Huffman Profile Picture

Holly Huffman 103

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 96 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 51 Most Valuable Professional

Product updates

Dynamics 365 release plans