Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

More than 1 matching value with FirstSortedValue

My data is like this.

game:

load * inline

[

player, wkts

a, 20

b,30

c,20

d,30

e,41

f,41

];

Have a text box with this expression:

=FirstSortedValue(distinct player,-[wkts])

I get to see only Player 'e', where i want to see both e and f. Can you help please.

1 Solution

Accepted Solutions
hic
Former Employee
Former Employee

Use this instead:

=Concat(distinct if(wkts=Max(total wkts),player),', ')

HIC

View solution in original post

2 Replies
hic
Former Employee
Former Employee

Use this instead:

=Concat(distinct if(wkts=Max(total wkts),player),', ')

HIC

Not applicable
Author

That is perfect.