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: 
Not applicable

Nerwork days function

Hi All,

I have start date and end date from which I want to calculate the number of days excluding week ends and holidays, but my week ends are not Saturday and Sunday, it is Thursday and Friday, hence I am not able to use network days function here. Can anyone help with alternative.

1 Solution
3 Replies
marcus_sommer

buzzy996
Master II
Master II

can u try this way,

define all ur holidays,like belwo..

Holidays:

LOAD * INLINE [

Holiday

01/01/2005

02/01/2005

08/01/2005

....etc

];

load

    concat(chr(39) & Holiday & chr(39),',') as list

Resident Holidays;

LET ListOfHolydays = Peek('list');

and use expression like this on ur chart?

Count(If(Networkdays(Column1,column2,$(ListOfHolydays))<'6',column3))

HTH