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

Simple Rank expression

Dear all,

I need an expression that returns the following ranking :

I have successfully calculated the following simple average:

Avg( {$<Category={1}>} Amount )

and I have another dimension "Country" in a Multi box and whenever I make a choise, the above average is obviously calculated for the selected country.

What I need is an expression that calculates the ranking of the selected country of this average for this category=1 . Can anyone help me on this please ??

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

=Aggr(Rank(Avg({<Category={1}, Country= >}Amount)),Country)

View solution in original post

2 Replies
MK_QSL
MVP
MVP

=Aggr(Rank(Avg({<Category={1}, Country= >}Amount)),Country)

Not applicable
Author

That's correct. Thank you very much for your valuable time.