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: 
rupaliqlik
Partner - Creator
Partner - Creator

Rank should not change on selection

Dear All ,

I have Person wise data and their ranks, but when I elect any person rank is showing 1 . and I want their actual rank. Please tell me what I should do in this scenario.

Thanks in advance.

12 Replies
Anil_Babu_Samineni

You can define {1} operator in set expression. It will give constant even if selection happen

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
tajmohamed30
Creator III
Creator III

Hi Rupali,

If you got answer please mark it as answered under actions to close the discussion.

Thanks

Taj

satishkurra
Specialist II
Specialist II

Hi

I would suggest using with aggregation as

=Sum(aggr(rank( sum( {$<Name=>} Marks) ), Name))


or


=Min(aggr(rank( sum( {$<Name=>} Marks) ), Name))


or


=Max(aggr(rank( sum( {$<Name=>} Marks) ), Name))