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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
dinicholls
Creator II
Creator II

Datediff in working days

Hi,

I'm trying to work out the days between the invoice date, and date paid, which I've done as and expression:

date(date_paid)-(date(invoice_date))

But........ is there any way I can change this so it gives the results in working days, and not just days?

Thanks

Di

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Interval([date_paid]-[invoice_date],'D')

Or

NetWorkDays([invoice_date],[date_paid])

View solution in original post

2 Replies
MK_QSL
MVP
MVP

Interval([date_paid]-[invoice_date],'D')

Or

NetWorkDays([invoice_date],[date_paid])

dinicholls
Creator II
Creator II
Author

Manish,

Thank you!

Used NetWorkDays, worked a treat!

Di