Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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))