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

Choosing Bottom 5

Hi  Experts

In my Qvw i am using the dimension Limits to Show top 10 customers for each branch

but now I want only the Bottom 5 in my top ten list of Customers for each branch

Bottom 5 in that Top 10

How can i do that

Please Suggest

6 Replies
ramoncova06
Partner - Specialist III
Partner - Specialist III

the attached example should work

Not applicable
Author

HI Ramon

I already tried this method, and its not working

Is it possible to do the restriction on Sort Tab

Not applicable
Author

Any other Suggestions Please

ramoncova06
Partner - Specialist III
Partner - Specialist III

not that remember

this should get it done for you

*** Edited since I missed to upload the correct version

Not applicable
Author

Hi Ramon

Actually in my data there are 152 branches

How to implement this

and my Expression Calculation is with MTD for Sales

ramoncova06
Partner - Specialist III
Partner - Specialist III

I was hoping your branches where a smaller number, since I normally try to avoid calculated dimensions and if, but since it seems as we do not have another option try with this

=if(aggr(num(rank(sum(sum_val), 4)), Branch,Rank) >=5 and aggr(num(rank(sum(sum_val), 4)), Branch,Rank) <=10, Rank)

suppress null values