Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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.

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