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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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.