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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Weekly rolling averages

Hello Gurus,

Would apprecaite your help on calculating weekly rolling average in QV , exactly  as shown in the excel attachment.

Tried with the rangeavg function, but no success.

Need your assitance.

Nassar

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Oops. brainfart Try this instead:

rangesum(above(Amount,0,4)) / rangesum(above(Amount,52,4)) -1


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try this: rangesum(above(Amount,0,4)) / rangesum(above(Amount,52,56)) -1


talk is cheap, supply exceeds demand
Not applicable
Author

Hi,

Thanks for your reply,

I am getting some different percentages, not exactly as show in excel.

Could you please advice on this

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Oops. brainfart Try this instead:

rangesum(above(Amount,0,4)) / rangesum(above(Amount,52,4)) -1


talk is cheap, supply exceeds demand