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

Announcements
Join us in Bucharest on Sept 18th 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 Sunday's in Date variable?

Hi ,

i created one variable like below

vDate= Date(Today() -1)  this giving Yesterday date

now if i ran the report on Monday this giving Sunday  but here i want Friday basically i want exlcude Sat and Sunday

please help

2 Replies
awhitfield
Partner - Champion
Partner - Champion

Kushal_Chawda

try this

=date(if(weekday(Today())='Mon',Today()-3,Today()-1))