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

Networkdays() Function??

Dear Users,

I am using the following code

NetWorkDays(Sales_Mis_SALES_LOGIN_DATE,Sales_Mis_SANCTION_DATE,$(vHoliday)) as SANCTION_DAYS

I wanna pass mutiple days in vHoliday but i am not getting desired result,

vHoliday='11/11/2015','12/11/2015'

Request you to help.

Or Just suitable option to achieve thi I have set of 10 dates which should be avoided for calculation of sanction days.

Thanks and Regards,

Rohit

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

Good Explanation in the Below Document.

Find Net Working Days

View solution in original post

5 Replies
sunny_talwar

See if this helps:

vHoliday= Chr(39) & MakeDate(2015, 11, 11) & Chr 39, Chr(39) & MakeDate(2015, 12, 11) & Chr 39

settu_periasamy
Master III
Master III

Good Explanation in the Below Document.

Find Net Working Days

Kushal_Chawda

try to provide Numbers instead of actual date in variable. for example 42326

rohitians
Creator III
Creator III
Author

I have tried using this but it only accepts one date..

tresesco
MVP
MVP

Are the dates in fields of similar formats? If so, try

  •      remove '=' while defining variable
  •      remove '$' from variable in networkdays()