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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
NavinReddy
Creator II
Creator II

help

Hi community,

i have date

1.how can i get previous five weeks ,

2.this month total weeks,

3.starting year to till date months should disply

all three different expressions

some one help me

thanks in advance

rohith

3 Replies
Not applicable

1.how can i get previous five weeks ,==Date(WeekStart(Today())-35)

2.this month total weeks,===Floor(day(MonthEnd(today()))/7)

3.starting year to till date months should disply===if(Datefield>=YearStart(today()) and Datefield<=YearStart(today()), Datefield )

NavinReddy
Creator II
Creator II
Author

hi kabilan,

thank you for your reply,

i will try this examples

Thanks,

rohith

Not applicable

rolling 5 week

sum({<Date={">=$(=Date(weekstart(today())-35)<=$(=date(weekend(today())-35))"}, year=,month=,week=>}sales)