
Anonymous
Not applicable
2018-01-09
09:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Tags:
- firstsortedvalue
1,109 Views
1 Solution
Accepted Solutions

Creator II
2018-01-10
05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Josh,
Try this : FirstSortedValue(SubSubCategory, -aggr(avg(score),SubSubCategory),2)
Script Syntax : FirstSortedValue - chart function ‒ Qlik Sense
Thank you
Justin
1 Reply

Creator II
2018-01-10
05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Josh,
Try this : FirstSortedValue(SubSubCategory, -aggr(avg(score),SubSubCategory),2)
Script Syntax : FirstSortedValue - chart function ‒ Qlik Sense
Thank you
Justin
