Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

To get networkdays

Dear Members,

I want to calculate networkdays between 25-04-2009 11:01:05 to 04-05-2009 08:01:58

I tried like this networkdays('25-04-2009','04-05-2009','01-05-2009')  then I got 5 working days

but when I used date along with timestamp it also give 5 working days which wrong.

Am doing wrong, Please give me suggestion.

Thanks & Regards,

Yogesh

Tags (1)
1 Reply
Not applicable

To get networkdays

I had this problem few days back.

so i used networkdays as well as interval both

like

if

(

Interval((date2- date1), 'mm') < 0

,

num((-1)*(networkdays(date2,date1) -1), '00') & ' days ' & subfield(interval(date2- date1, 'DD hh:mm:ss'), ' ' , 2)

,

'DD hh:mm:ss'), ' ' , 2)

num(networkdays(date2,date1), '00') & ' days ' & subfield(interval(date2- date1, 'DD hh:mm:ss'), ' ' , 2)

)

Community Browser