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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
MK_QSL
MVP
MVP

NetWorkingDay with Saturday Half Day

Hi All,

We are working 5 and half day a week. (Saturday considered as a half day)

Can anyone provide script or expression to get NetWorkingDays?

Is there any other way to get the result without using NetWorkingDays?

Better if answer will be having an example...

Thanks

Labels (1)
3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Maybe this:

networkdays(startdate,enddate) + (div(enddate-startdate,7) - (weekday(startdate)>weekday(enddate))/2


talk is cheap, supply exceeds demand
MK_QSL
MVP
MVP
Author

This expression giving error.

MK_QSL
MVP
MVP
Author

Got the solution...

=NetWorkDays(vStartDate,vEndDate)+CEIL(SUM(((WEEKDAY(vStartDate-7)+vEndDate-vStartDate)/7)))/2