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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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

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.

qv_testing
Specialist II
Specialist II

Try with this dimension

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

muhammedraleen
Partner - Creator
Partner - Creator

Hi,

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