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

Count the number of leave days from start and End date and Exclude the weekend day.

Hi Team,

I have shared the dummy data based on that I need to calculate the leave day from start date and end date and exclude the weekend day.

Start dateEnd dateNamedate
1/1/20191/5/2019A1/1/2019
1/2/20191/5/2019b1/2/2019
1/3/20191/6/2019c1/3/2019
1/4/20191/7/2019d1/4/2019
1/5/20191/8/2019e1/5/2019
1/6/20191/9/2019f1/6/2019
1/7/20191/9/2019g1/7/2019
1/8/20191/11/2019h1/8/2019
1/10/20191/13/2019i1/9/2019
1/11/20191/15/2019j1/10/2019
1/13/20191/15/2019k1/11/2019
1/14/20191/17/2019l1/12/2019
1/15/20191/17/2019m1/13/2019
1/16/20191/18/2019n1/14/2019
1/17/20191/20/2019o1/15/2019

 

Thanks in advanced.

Thanks,

Regards,

 

1 Solution

Accepted Solutions
sunny_talwar

May be this

NetWorkDays([Start date], [End date])

View solution in original post

5 Replies
sunny_talwar

May be this

NetWorkDays([Start date], [End date])
iahmadmca1
Contributor III
Contributor III
Author

Thank you sunny for you quick response. I got the expected output.

sunny_talwar

What did you use?

iahmadmca1
Contributor III
Contributor III
Author

I used same which you have replied.

Thanks,

Irshad Ahmad

sunny_talwar

Oh okay, cool. You marked your own response as correct which confused me. Thanks for the clarification