Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Our next Qlik Insider session will cover new key capabilities. Join us August 11th REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
arjanijlenhave
Contributor II
Contributor II

Exclude weekend days

Hi all,

For the record below I want to exclude the weekend days.

Customerstart dateend days# days (no weekend days)
a7-1-201414-01-20146

Is the an easy way to solve this issue?

Best regards,

Arjan

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try NetWorkDay() for this

=NetWorkDays('1/7/2014', '1/14/2014')

Regards,

Jagan.

View solution in original post

5 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try NetWorkDay() for this

=NetWorkDays('1/7/2014', '1/14/2014')

Regards,

Jagan.

View solution in original post

Clever_Anjos
Employee
Employee

=NetWorkDays(start_date,end_date) will return what you need

sujeetsingh
Master III
Master III

jagan so can you please explain the netWorkDays () function in detail

jagan
Luminary Alumni
Luminary Alumni

Hi Sujeet,

NetWorkdays() will receive Start and End date as parameters and returns the number of days between the two dates excluding Saturdays and Sundays.

Regards,

Jagan.

MK_QSL
MVP
MVP

networkdays (start:date, end_date {, holiday})

Returns the number of working days (Monday-Friday) between and including start_date and end_date taking into account any optionally listed holidays. All parameters should be valid dates or timestamps.

Examples:


networkdays ('2007-02-19', '2007-03-01') returns 9 


networkdays ('2006-12-18', '2006-12-31', '2006-12-25', '2006-12-26') returns 8