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: 
sat_tok52
Creator
Creator

Rank function Null Issue

HI Guru's,

I am using Rank function to get Top 10 customers in pivot table , but I am getting 9 customers and 10th customer it is showing up as null.In my customer column have above 20 customers,below is the calculated dimension I am using .

Calculated Dimension:

=if(aggr(rank(Count(customer)),Name)<=$(vTop),Name)

Expression:

Count(customer)

vTop=10

Result:

Name    Count

A    13

B    12

C    11

D    11

F    9

G    8

H    7

I    6

J    5

-    36

Thanks,

Sateesh

Labels (1)
1 Reply
tresB
Champion III
Champion III

Could it be that there are multiple names with the same 10th value (36)?