Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a list of categories each with an average score 'avg(EasyScore)'. I can use the first sorted value to generate the category with the highest average score but is there a way of getting the 2nd, 3rd or nth highest score. Maybe a combination of rank and agrr? The category field is 'SubSubCategory'.
By firstsortedvalue() and by max() could by using the fourth respectively second parameter any other value be returned.
- Marcus
FirstSortedValue(SubSubCategory, -aggr(avg(EasyScore),SubSubCategory)) would give me the highest SubSubCategory by EasyScore. Where would i use max to give me the second highest?
The logic is:
firstsortedvalue(ReturnField, LookupExpression, SortField, RankNumber)
max(Field, RankNumber)
- Marcus