Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show top 5 bottom 5

Hi,

Any idea how to show bottom 5 in a chart?

Regards,

CS Khoo

6 Replies
tresesco
MVP
MVP

Community is full of ideas. You have to just search : Re: Bottom 5 values

its_anandrjs

If the chart is straight and bar charts then you can use the dimension limits option in the QV 11.0 if using any other version then use variables for that.

MayilVahanan

Hi

Try like this

Top 5

=if(rank(sum(Sales))<=5 ,Customer)


Bottom 5

= If(rank(-sum(Sales))<=5,Customer)

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

Hi Cs,

Please see the attachment for top 20 and bottom 20 .

Thanks,
AS

its_anandrjs

Take the straight chart and dimension and expression

1.And then create a variable named vTop and take input box for enter value on the chart

2.Then in dimension limits check the limit option and select Smallest and write variable like =vTop+1

3.For Largest do same on another chart.

Not applicable
Author

Thanks. Anyway I solved the problem. I need to put some consideration because my application contains direct discovery feature.