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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
arsenal1983
Creator
Creator

Networkdays with holidays

Hello,

I have data as below:

  

REK_idDATE ADATE B
101011112015-12-30

2016-01-08

in separate table i have a list of holidays.

How can I calculate work days between this two dates and include the holiday list?

1 Solution

Accepted Solutions
5 Replies
Anonymous
Not applicable

define a variable for your Holidays and selet the data from your Holiday list

LET vHolidays= concat(yourholidayfield,',')

and use function

networkdays(DATE A, DATE B, '$(vHolidays)')

sasikanth
Master
Master

HI,

try like

NetworkingDays(DATE A,DATE B,HOLIDAYS)

marcus_sommer

Another way to calculate working-days could be to create a flag within your master-calendar and simply to summarize this flag-field, like: sum(WorkingdaysFlag), see here an example:

Master Calendar with movable holidays

- Marcus

tamilarasu
Champion
Champion

A clear example from manual,

Capture.PNG

If you have multiple dates, then assign the dates in variable and follow the syntax suggested by Rudolf.

settu_periasamy
Master III
Master III

And Look at this

Find Net Working Days