Skip to main content
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])))

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.