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: 
Not applicable

Average below and above

I need to calculate the average of the 10 entries below and above of a field in the script

6 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

In your chart try this expression:

RangeAvg(Above(Sum(YourField),10,20))

Hope this helps,

Jason

Jason_Michaelides
Partner - Master II
Partner - Master II

PS you might need -10 as the second parameter for Above(). I can't remember if the offset goes up or down...

Not applicable
Author

Thanks

Not applicable
Author

Thanks...

If I can not find how to do it in the script, I will do in the graph as you show me

Not applicable
Author

Thanks...

If I can not find how to do it in the script, I will do in the graph as you show me

Jason_Michaelides
Partner - Master II
Partner - Master II

If you need to do it in the script look at using Peek()