Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

berryandcherry6
Contributor II

Condition for last week

I am checking for current week by using this equation   current_start_date = Date( weekstart (Num ( today() ) )+1)),Now i want to put for Previous week What condition could i put.

Tags (1)
1 Solution

Accepted Solutions
MVP
MVP

Re: Condition for last week

May using the shift parameter in weekstart function, like :

Date( weekstart (today(),-1) )+1))

1 Reply
MVP
MVP

Re: Condition for last week

May using the shift parameter in weekstart function, like :

Date( weekstart (today(),-1) )+1))