Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
varunreddy
Creator III
Creator III

Network Days


Hi Guys,

Can anyone correct the syntax?

networkdays(date#([As of Date],'MM-DD-YYYY'), date#([Creation Date],'MM-DD-YYYY'))

Thanks in advance!

Regards,

Varun

1 Solution

Accepted Solutions
maxgro
MVP
MVP

if you have text fields as in

=networkdays(date#('01-01-2015','MM-DD-YYYY'), date#('03-01-2015','MM-DD-YYYY'))

your expression should worh

if you have date fields

networkdays([As of Date], [Creation Date])

View solution in original post

11 Replies
MK_QSL
MVP
MVP

Are you getting syntax error?

varunreddy
Creator III
Creator III
Author

I am not getting any output.


MK_QSL
MVP
MVP

how you are using it? Provide sample script..

varunreddy
Creator III
Creator III
Author

I actually want to get number of business days between [As of Date] and [Creation Date]

Clever_Anjos
Employee
Employee

Would you mind posting a sample of your app?

Digvijay_Singh

If your dates are in 'MM-DD-YYYY' then format is appearing correct. If dates are not in the used format then you need to use  - date(date#([As of Date],'<input date format'),'MM-DD-YYYY')

maxgro
MVP
MVP

if you have text fields as in

=networkdays(date#('01-01-2015','MM-DD-YYYY'), date#('03-01-2015','MM-DD-YYYY'))

your expression should worh

if you have date fields

networkdays([As of Date], [Creation Date])

MK_QSL
MVP
MVP

You will get it... But before that we need some input from you... Can you please provide the script which you are using?

varunreddy
Creator III
Creator III
Author

Hi Manish,

I don't have access to send you the application

Thanks & Regards,

Varun