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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Exclude Weekends and Public holidays using one datefield

Good day,

The question I asked earlier on was not so clear. Now I am simplifying it, I have a date field called LeaveDate and it contains Working days from Monday to Friday, Weekends and Holiday. So in my country if a holiday falls on a Sunday, then following day(i.e Monday) will be counted as a holiday. So in my attached spreadsheet, I have highlited the holidays and weekends in Yellow. So what I would like to exclude weekends and public holidays.

          Leave Sample.PNG

  

hope my question is clear.

Thanks

22 Replies
sunny_talwar

My bad, I think I was looking at 12/27/2015 instead of 12/27/2016..... I have modified my code also just in case you want to take a look. I have created a flag instead of creating two separate fields.

Best,

Sunny

Capture.PNG

sunny_talwar

Thanks for sharing the link raajaswin

Best,

Sunny

Not applicable
Author

Thank you very much for your assistance.