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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
anuradhaa
Partner - Creator II
Partner - Creator II

Get Max average form a data set

Hi,

I have a data set like below,

                          SUBJECT 1     SUBJECT 2     SUBJECT 3

STUDENT A          58                         96                    75

STUDENT B          36                         89                    72

STUDENT C          44                         60                    90

I want to get the STUDENT who has the highest AVERAGE in all subjects,

Pls help me.

Thanks

1 Solution

Accepted Solutions
tresesco
MVP
MVP

May be like this?

=FirstSortedvalue( Student, -Aggr(Avg(Score), Student))

View solution in original post

7 Replies
Anonymous
Not applicable

max(aggr(avg(Score),Student))

tresesco
MVP
MVP

May be like this?

=FirstSortedvalue( Student, -Aggr(Avg(Score), Student))

MK_QSL
MVP
MVP

Check enclosed file...

Not applicable

try this

if(max((subject1+subject2+subject3)/3)<>0,Student)

anuradhaa
Partner - Creator II
Partner - Creator II
Author

Thanks All

anuradhaa
Partner - Creator II
Partner - Creator II
Author

How to get the lowset one, i try with lastsortedvalue but doesn't work.

thanks

anuradhaa
Partner - Creator II
Partner - Creator II
Author

Got it, just remove the - mark infront of aggr