Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
WEBINAR April 23, 2025: Iceberg Ahead: The Future of Open Lakehouses - REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Sudhakar1523
Partner - Contributor II
Partner - Contributor II

Calculate TAT hrs by excluding Sunday and holiday's

Hello everyone,

I'm building an escalation matrix for ticket resolution times, and I need to accurately calculate the working time between ticket creation and resolution. This requires excluding Sundays and holidays, while maintaining Saturday as a working day, within a 9 AM to 6 PM window. How can I achieve this?

I tried using the NETWORKDAYS function, but it also excludes Saturdays, which isn’t ideal for my case.

Below is the samle data.

Sudhakar1523_0-1741025975064.png

 

Thanks in advance!

Labels (2)
1 Reply
morgankejerhag
Partner - Creator III
Partner - Creator III

If network days doesn't work my trick is usually to assign each working day a number that increments. So days that are Sundays and holidays get the same day number as the previous working day. By subtracting the start working day number from the end working day number we get the number of working days in between.