Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

syntax

is their any syntax to get top values

say top 5 from a lot of 50

if yes what is it

thanks'

10 Replies
michael_maeuser
Partner Ambassador
Partner Ambassador

in frontend, try rank function or take a look at the dimension limits tab in chart properties (only straight table).

hope that helps

sushil353
Master II
Master II

Use rank function in dimension..

or you can use dimension limit option.

tresesco
MVP
MVP

ashwanin
Specialist
Specialist

Hi Deepak,

Hope below thread help you to find the answer with sample qvw of rank function.

Re: Top 10 With Total

maleksafa
Specialist
Specialist

you can use the Rank function for exampel rank(sum(sales)) or use the dimension limits tab, where you will define to show the top 10 or least 10 etc...

ashfaq_haseeb
Champion III
Champion III

Have a look at attached application.

Regards

ASHFAQ

Not applicable
Author

whats exactly the syntax for rank function..

say i need top 3 values

ashfaq_haseeb
Champion III
Champion III

Hi,

Look at my application attached in my previous post.

Regards

ASHFAQ

MayilVahanan

Hi

Try like this

Sum({<Product = {"=rank(sum(Sales))<= 3"}>} Sales)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.