Skip to main content
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

Hi Avinash,

like this ?

anushree1
Specialist II
Specialist II

Please check if the attached file serves the purpose

anushree1
Specialist II
Specialist II

Sorry Missed the attachment

Anonymous
Not applicable
Author

Yes Antonio,but each date may have multiple values.

Anonymous
Not applicable
Author

Please share

anushree1
Specialist II
Specialist II

I have attached the file is there any issues accessing it.

antoniotiman
Master III
Master III

What is the expected result ?

Anonymous
Not applicable
Author

Plz see the attached file.

Anonymous
Not applicable
Author

Actually I cant access the qvw file inside qlik sense.