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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Average last 4 weeks

Hi everyone,

i have the chart attached to this post.

In this same chart i need also to calculate for each week the average value of the last 4 weeks.

Can you please help me?

Thanks,

LB.

Labels (1)
5 Replies
MK_QSL
MVP
MVP

like this?

Update : For average

Avg({<WeekID = {">=$(=Max(WeekID)-3)"}>}k)

alexandros17
Partner - Champion III
Partner - Champion III

Here it is an example

Not applicable
Author

Hi and thx for the answers..

but i need to see both the expression:

- sum(k)

- avg (sum(k) last 4 weeks)

MK_QSL
MVP
MVP

Add one more expression of avg with my given file

rustyfishbones
Master II
Master II

Please see the attached file

Regards

Alan