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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
QlikSenseBeginner
Contributor II
Contributor II

Ranking in Pivot table

Hi everyone, 

Good day. 

Just wondering if the pivot table can display without those numbers in the 2nd column (Eg 725, 573, 563, etc) and show as ranking instead?  Meaning 725 will rank as 1 and 573 will rank as 2, while i can change NO to Ranking. 

Pivot Ranking.JPG

 

 

 

 

 

 

 

 

 

 

 

Labels (4)
1 Solution

Accepted Solutions
QlikSenseBeginner
Contributor II
Contributor II
Author

With your heads up, I have resolved the issue with the following code. 

if(aggr({<[Top 5 Industry Sectors]-={' Not applicable based on skipping pattern'}>} rank(Count({<[Top 5 Industry Sectors]-={' Not applicable based on skipping pattern'}>}[Top 5 Industry Sectors])), [Top 5 Industry Sectors])<=5,rank(Count({<[Top 5 Industry Sectors]-={' Not applicable based on skipping pattern'}>}[Top 5 Industry Sectors])))

Much thanks.  

View solution in original post

2 Replies
anat
Master
Master

can u give a try like ....Aggr(Rank(Sum(Sales)),[Customer Name])

QlikSenseBeginner
Contributor II
Contributor II
Author

With your heads up, I have resolved the issue with the following code. 

if(aggr({<[Top 5 Industry Sectors]-={' Not applicable based on skipping pattern'}>} rank(Count({<[Top 5 Industry Sectors]-={' Not applicable based on skipping pattern'}>}[Top 5 Industry Sectors])), [Top 5 Industry Sectors])<=5,rank(Count({<[Top 5 Industry Sectors]-={' Not applicable based on skipping pattern'}>}[Top 5 Industry Sectors])))

Much thanks.