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: 
MK_QSL
MVP
MVP

Aggr & Rank

What is wrong in below code... My idea is to get TOTAL QTY for TOP 10 Customer...but I am not getting any result

=SUM(IF(AGGR(RANK(SUM([Inv QTY])),[Customer Name])<=10,SUM([Inv QTY])))

Labels (1)
10 Replies
v_iyyappan
Specialist
Specialist

Hi,

1Lowest rank on all rows.
2Average rank on all rows.
3Highest rank on all rows.
4

Lowest rank on first row, then incremented by one for each row.