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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to show only Top 10 values in pivot table

Hi Frnz,

Please help me. I would like display Top 10 values. But I am getting all values. Please find the attached QVW.

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Use Pivot Table

Dimension

1) YEAR

2) Calculated DImension

=AGGR(IF(Rank(SUM(ULT_REVENUE),4)<=10,L4ACCTNAME),YEAR, L4ACCTNAME)

TICK SUPPRESS WHEN VALUE IS NULL

Expression

Whatever you want

View solution in original post

18 Replies
PrashantSangle

Hi,

Use Rank()

Search in Community,

Top 10 using Rank()

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
jsingh71
Partner - Specialist
Partner - Specialist

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

The top 10 What of What?


talk is cheap, supply exceeds demand
buzzy996
Master II
Master II

goto --dimeniosn limits tab--

see below,top10.PNG

Not applicable
Author

YEAR wise Top 10 and I need to show Account name also in Pivot table

Not applicable
Author

In Pivot table, no dimension limits tab

buzzy996
Master II
Master II

then u can use the rank function on ur expression.

some thing like this..

=Sum(Aggr(if(Rank(Sale)<=10,on-whichever the field ur calulcating fro example sales),Account name,Sale))

MK_QSL
MVP
MVP

Use this as calculated Dimension instead of L4ACCTNAME

=AGGR(IF(Rank(SUM(ULT_REVENUE),4)<=10,L4ACCTNAME),YEAR, L4ACCTNAME)

Tick suppress when value is null

Not applicable
Author

I will try..Thanks