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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rank in Text Box

Hi

How can I display the rank  in a text box   of a selected value  from a list box ?

Suppose I have this input data

Id   Value

1    100

2    10

3    500

If I selectec   Id=1  I   want to display in the text box Rank = 2

Regards

JJ

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try

= 'Rank = ' & aggr( if(d=GetFieldSelections(Id),rank(sum({1} Value))),Id)

View solution in original post

2 Replies
swuehl
MVP
MVP

Try

= 'Rank = ' & aggr( if(d=GetFieldSelections(Id),rank(sum({1} Value))),Id)

Not applicable
Author

Thanks Stefan

It works also without the GetFieldSelection :

= aggr(  rank(sum({1} V)),Id)

JJ