web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

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

Calculate business hours (not days) between different datetime fields (exclude weekends)

(0) ShareShare
ReportReport
Posted on by 165

Hello,

I need to have a field (maybe rollup field? ) where it calculates the business hours between timestamps.
For example, I have the start date of a task (10/02/2020 13:16:00) and the end date of the task (10/05/2020 16:50:00)
Working hours are 9.00 - 5.00, so, excluding the weekend and the rest hours of the day, the actually business hours of this task to be completed is 11:34 hours.

Is it possible to calculate this OOB? Do rollup fields support this kind of calculation?
Also, we already have a SLA but it calculates the working hours in a very different way and we don't want to change it.
Thank you in advance

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: Calculate business hours (not days) between different datetime fields (exclude weekends)

    Hello,

    I don't think it will possible with rollup field. But you can use power automate to achieve your requirement.

    Check below article.

    ryanmaclean365.com/.../

    Please mark my answer verified if i were helpful

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 117

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 117 Super User 2025 Season 2

#3
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 83

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans