Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
spetushi
Creator
Creator

Counts excluding Non-Business Days

Hello,

I am trying to generate counts or records that have a 'Return Date' within 2 business days of 'CheckOut Date' for any given Saturday to Friday week range. I am looking for some efficient way to do this by taking into account weekends and e.g. US holidays for a given year. E.g. a book checkout on a Friday is 2-business days old on Tuesday and so on. I have attached sample data for experimentation purposes.

Thank you,

Sokol

2 Replies
swuehl
MVP
MVP

Have you looked into Networkdays() function?

networkdays ‒ QlikView

spetushi
Creator
Creator
Author

Thanks Stefan. I haven't used this function in the past.

I looked at it and it should do the job.