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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikconsultant
Creator III
Creator III

Running average above 10 minutes

Hi,

I have a table with date, time and count and I need a running average of the last 10 minutes. I found the following post (http://community.qlik.com/message/95999#95999). But im not get this solution working for my problem. Thanks for any help or or ideas.

date
timecount
01.05.201200:002
01.05.2012

00:01

5
01.05.2012

00:02

3
01.05.2012

00:03

4
01.05.2012

00:04

2
01.05.2012

00:05

1
01.05.2012

00:06

3
01.05.2012

00:07

1
01.05.2012

00:08

3
01.05.2012

00:09

4
01.05.2012

00:10

12
01.05.2012

00:11

5
...

...

...
01.06.201223:594
1 Solution

Accepted Solutions
qlikconsultant
Creator III
Creator III
Author

I found a different solution:

round((above(sum(count),10)

+above(sum(count),9)

+above(sum(count),8)

+above(sum(count),7)

+above(sum(count),6)

+above(sum(count),5)

+above(sum(count),4)

+above(sum(count),3)

+above(sum(count),2)

+above(sum(count),1))/10)

View solution in original post

2 Replies
Not applicable

Hi!

Here is a simple example. Hope that helps.

Rebeca

qlikconsultant
Creator III
Creator III
Author

I found a different solution:

round((above(sum(count),10)

+above(sum(count),9)

+above(sum(count),8)

+above(sum(count),7)

+above(sum(count),6)

+above(sum(count),5)

+above(sum(count),4)

+above(sum(count),3)

+above(sum(count),2)

+above(sum(count),1))/10)