do you want to exclude the saturday and sunday in your expression or in the script?
If in the script can't you use a function of you DBMS to exclude record, if you have, for saturday and sunday?
In Qlikview there is the function WeekDay to know the day of the week.
I hope this help you.
Luca Jonathan Panetta