Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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
Creator III
Creator III

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?