Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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