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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rank Function

I want to create following pivot table that shows rank of products.

Market 2Market 2
PrroductSalesRankSalesRank
P11003504
P220025001
TOTAL300550


But when I created this in qlikview pivot table I got the following results. Its showing the rank of products by market and is not what I

Market 2Market 2
PrroductSalesRankSalesRank
P11002502
P220015001
TOTAL300550


I am using this expression to calculate rank.

Rank(TOATAL sum(Sales))

Can any one help me how to calculate rank as shown in first table?

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

Hi,

You need to use a function AGGR into your expression.

View solution in original post

2 Replies
Not applicable
Author

Hi,

You need to use a function AGGR into your expression.

Not applicable
Author

Great!

Exactly what I needed.

Thanks again.

Zubair.