Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

ranking with dimension limit and show others value

Hi,

I need to create a straight table with a product dimension, an amount value and the rank based on the amount: please see the first image.

image1.JPG

In order to see only the top 10 products I apply a dimension limit showing only the largest 10 amount.

Since I want to see also the remaining products I flag the 'show other' option.

image2.JPG

My issue is: I don't want "Other Product" to be considered in the rank column

Product1 should be rank 1, product2 rank 2, ...., Product9 rank 9.

Has someone a solutions for the problem?

Thanks in advance.

Please see also the attached .qvw with the example.

2 Replies
sunny_talwar

Try this:

=Rank(If(Len(Trim(PRODUCT)) > 0, Sum(AMOUNT)),1,1)

Capture.PNG

Not applicable
Author

Thank you!