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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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))