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

Top 10 Rank

Hi guys,

I have an expression

=SUM({<CalDateMonth ={$(vCurrentMonth)}>} Revenue)

Is there any way I can add the Rank function to this and show the top 10 ?

Thanks

J

1 Solution

Accepted Solutions
jamelmessaoud
Creator II
Creator II
Author

Figured this out now.  Should really use the search function before posting shouldn't I.

I found this thread

Re: Rank in a table chart with data filter

View solution in original post

7 Replies
olivierrobin
Specialist III
Specialist III

hello

why don't you use dimensional limits tab in your graph ?

jamelmessaoud
Creator II
Creator II
Author

I would like to add a couple of other measures also and not just the revenue if that makes sense?

olivierrobin
Specialist III
Specialist III

you can add all measures you need and limit the display by using one or more of this measure

in your case, you could all a measure giving the rank and limit the display to the n first values

jamelmessaoud
Creator II
Creator II
Author

Figured this out now.  Should really use the search function before posting shouldn't I.

I found this thread

Re: Rank in a table chart with data filter

Anil_Babu_Samineni

May be use this?

SUM({<FieldName = {"=Rank(SUM({<CalDateMonth ={$(vCurrentMonth)}>} Revenue))<=10"}>}Sales)

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
olivierrobin
Specialist III
Specialist III

now you have a lot of solutions to your problem. Be careful that the end of the post seems to be QlikSense.

jamelmessaoud
Creator II
Creator II
Author

This is the exact expression which i used.  Thanks guys