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

set analysis in chart

Hi,

I've a difficult situation which i want to solve in the expression and not in the script.

column A :contains calculation with average of 21.16

column B: what I want to get is the value in column A  minus the high average

               (average of the rows of A above the average - in this case the white rows)

    

Thanks in advance

'A' AVG: 21.16

High 'A' AVG: 31.09

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Expression is:

A - avg(total  if(A>avg(total A), A))

View solution in original post

4 Replies
MK_QSL
MVP
MVP

Kindly provide Sample Apps or Sample Data !

buzzy996
Master II
Master II

can u try this,

create a variable = store ur max avg value in this field.

and in ur chart use field B = A - variable.

Anonymous
Not applicable
Author

Expression is:

A - avg(total  if(A>avg(total A), A))

maxgro
MVP
MVP

PFA