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

Exlude Sunday from difference of two date

Dear,

I want to exclude only sunday from difference of CallLogDate and CallFinishDate.

for example one call logged on 02-07-2011 11:12:11AM and it resolved on 05-07-2011 5:22:22PM .

in between there is a sunday which i want to remove, Day Difference should be 3.

Thanks for Response....

3 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

HI,

   There is a way to exclude the sunday's and saturday's from the given start date and end date.

   The function is.

    Networkdays().

    For more information on this, go to help of qlikview.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Dear Kaushik ,

I want to exlude only sunday. Plz help

Thanks and Regards

Vimlesh Gupta

nagaiank
Specialist III
Specialist III

In your master calendar, add a field to indicate if a date is working day (1 if a workday, 0 if holiday) and sum this field for the desired date range to get the workday count. This is versatile as this enables you to define your own weekly and other holidays. (For example, in some countries Thursdays and Fridays are weekly holidays instead of Saturdays and Sundays)