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

Announcements
April 13–15 - Dare to Unleash a New Professional You at Qlik Connect 2026: Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

List Box

Hi,

How can we set top 5 values in list box?

Thanks.

2 Replies
swuehl
MVP
MVP

Use an expression in your list box (select <Expression> from the field list drop down in general tab of list box properties), something like

=aggr(if(rank(sum(SALES)<=5, SALESREP), SALESREP)

khadeer
Specialist
Specialist

Hi in expression,

To get Top 5 customers in revenue wise.

=aggr(if(rank(sum(Revenue))<=5 Customer),Customer)

I hope it will help u.

I