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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Top 5 in pivot


Hi all,

  i want to show top 5 customers in pivot table.how can i get this in pivot

PFA

Labels (1)
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Create a pivot table

dimension

customer

Expression

SUM({<customer = {"=Rank(SUM(cost),4)<=5"}>}cost)

View solution in original post

2 Replies
MK_QSL
MVP
MVP

Create a pivot table

dimension

customer

Expression

SUM({<customer = {"=Rank(SUM(cost),4)<=5"}>}cost)

israrkhan
Specialist II
Specialist II

as Manish said, it will work...

or use Straight table, and use dimension limits tab, select top 5...