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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

First Sorted Value

Could someone help me alter this FirstSortedValue expression so it returns the 2nd highest value (or the nth highest).

FirstSortedValue(SubSubCategory, -aggr(avg(score),SubSubCategory))

Thanks

1 Solution

Accepted Solutions
justinphamvn
Creator II
Creator II

Hi Josh,

Try this : FirstSortedValue(SubSubCategory, -aggr(avg(score),SubSubCategory),2)

Script Syntax : FirstSortedValue - chart function ‒ Qlik Sense

Thank you

Justin

View solution in original post

1 Reply
justinphamvn
Creator II
Creator II

Hi Josh,

Try this : FirstSortedValue(SubSubCategory, -aggr(avg(score),SubSubCategory),2)

Script Syntax : FirstSortedValue - chart function ‒ Qlik Sense

Thank you

Justin