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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
psettimini
Contributor
Contributor

Show bottom 10

I have this expression. I need to show the bottom 10 instead of top 10…

=Sum({<[fecha.Cal.AñoMes] = {"=Rank(Sum([$(=vVarv)]))<=10"},[Calidad]={PRI}>} [$(=vVarv)])

Thanks.

Labels (1)
6 Replies
Clement15
Partner - Specialist
Partner - Specialist

Hello, does this function work?

=Sum({<[fecha.Cal.AñoMes] = {"=Rank(-Sum([$(=vVarv)]))<=10"},[Calidad]={PRI}>} [$(=vVarv)])

I simply add - in front of the Sum of the rank

Dataintellinalytics
Creator
Creator

Try adding a  minus '-'  after Rank function.

Sum({<[fecha.Cal.AñoMes] = {"=Rank(-Sum([$(=vVarv)]))<=10"},[Calidad]={PRI}>} [$(=vVarv)])

psettimini
Contributor
Contributor
Author

Thanks, with the minus - the page is blank, nothing showed…

psettimini
Contributor
Contributor
Author

Thanks for your reply, it is not working.

Nagaraju_KCS
Specialist III
Specialist III

Try with this dimension

=aggr(if(rank(-Sum({<[Calidad]={PRI}>}[$(=vVarv)]))<=10,Dimension),Dimension)

muhammedraleen
Partner - Creator II
Partner - Creator II

Hi,

What's the data in this field? Can you be more specific, mentioning what bottom 10 details u need?