Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Rolling 5 days sum

I have a date field and I want the sum of value for past 5 days for each day in a rolling fashion.each date has multiple values.

I tried using  sum({1<DATE = {">=$(=(Only(CdDate)-5)) <$(=Only(CdDate))"}>}[value])

but so far no luck.Please help

12 Replies
antoniotiman
Master III
Master III

See Attachment.

Anonymous
Not applicable
Author

Would you please share your expression since qvw file is not accessible in Qlik sense

antoniotiman
Master III
Master III

See Attachment