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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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

Labels (1)
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