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: 
aathi33
Contributor II
Contributor II

Similar function like FIRST SORTED VALUE()

Hello Guys,

I'm searching for the similar function like FIRST SORTED VALUE().

To fulfil my condition

I need to find name of customer who has maximum sales across the region

Using if condition:

 

=if(aggr(rank(sum(Sales)),region,Customer)=1,Customer)

Screenshot (46).png

 

Using first sorted value:

 

aathi33_0-1680539742591.png

 

 

aathi33_1-1680539778392.png

(I can get these values when the conditions are applied)

 

But I need the without any filter and both customer for the two region must be shown on the table.

Labels (2)
1 Reply
BrunPierre
Partner - Master II
Partner - Master II

Hi, like this perhaps?

=Concat(If(Aggr(Rank(Sum(Sales)),Customer,Region)=1,Customer & chr(10)))