Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Last 10 in Pivot table

Hi Qlikers,

I'm having a small doubt,

I want to show the last 10 values in Pivot table.

Cal you please suggest me the solution..

I know how to calculate the Top 10 values

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Have a look at this example.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

10 Replies
Gysbert_Wassenaar

See Re: Calculating TOP 10 VALUES in PIVOT TABLE

Or search: community.qlik.com/search.jspa?q=top+10+rank


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Hi Gysbert,

The above mentioned community  link will showing the how to calculate the top10

but my task is  to show the last 10 values........

Thanks & Warm regards,

Venkata Sreekanth

Gysbert_Wassenaar

Multiply the values to rank with -1 so the ranking inverts.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Please post example expression here then I can understand easily..

Gysbert_Wassenaar

if(rank( -sum(Sales)) <= 10, TrueExpressionHere , FalseExpressionHere )


talk is cheap, supply exceeds demand
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Have a look at this example.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Anonymous
Not applicable
Author

Hi Gysbert,

To calculate top 10 i'm used this formula

(Aggr(Rank(Avg([Over All Score])),S_PERNR_Name) <= 10 ,S_PERNR_Name)

Gysbert_Wassenaar

if(Aggr(Rank(-Avg([Over All Score])),S_PERNR_Name) <= 10 ,S_PERNR_Name)


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Hi Kaushik,

Thanks for your reply..

I seen that attachment it was explained by clearly .......

Thanks Kaushik..