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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to Exclude Sat and Sun in Date variable?

Hi

i created one Date variable  like this

vTodaydate =date(Today()-1 )   this give  result 17/04/2017


Now i want to Exclude Sat and sunday i run report Monday it shoud show only Friday date

please help

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

vTodaydate =FirstWorkDate(Today()-1,1 )

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Something like vTodaydate =if(Today()=Weekstart(Today()),date(Today()-3 ),date(Today()-1 ))??

tresesco
MVP
MVP

Try like:

vTodaydate =FirstWorkDate(Today()-1,1 )

Not applicable
Author

if ran report on Sunday its giving Saturday data.