Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

What is the use of FirstSortValue in QlikView?

Hi All,

What is the use of FirstSortValue in QlikView?

Thanks in Advance.

2 Replies
Clever_Anjos
Employee
Employee

Basically when you want to calculate a rank based on an aggregation on another field

FirstSortedValue( Customer, aggr(-sum(sales),Customer))) will bring you the Customer with highest sales