Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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.