Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Coolavin
Partner - Contributor III
Partner - Contributor III

Moving Average Report Creation Help

Hello,

I am looking for help creating a moving averages report in Qlik Sense.

I have tried several things. The expression below is what seems to be the closest, but it still doesn't seem right. 

=Avg(Aggr(RangeAvg(above(ExamScore,0,30)), ExamDate, 1))

 

Below is what the report should look like:

The two data points are:

  1. The number of exams taken
  2. The average score of the exam

qlik_moving averages.png

Thank you for your help.

 

4 Replies
Kushal_Chawda

@Coolavin  could you share sample data with expected output?

Coolavin
Partner - Contributor III
Partner - Contributor III
Author

Here is an example of the data:

ExamIDExamScoreExamDate
4006928/3/2021
3205788/6/2021
7732808/4/2021
1132858/9/2021
2289808/10/2021
4893868/5/2021
4800888/6/2021
6901908/7/2021
2300818/14/2021
2321838/10/2021
3233828/3/2021
3211908/3/2021
4322808/10/2021
4532858/9/2021
5323878/4/2021

 

I don't have an expected output because I can't get it to work but it should look something like this:

qlik_moving averages.png

 

 

Coolavin
Partner - Contributor III
Partner - Contributor III
Author

that's a nice looking chart. I am just not seeing how you do that in qlik sense. Any ideas?