Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
jbentley
Contributor
Contributor

Rank with Multiple Dimensions but don't get the - for duplicates or same values

From other posts, have found the way to get the rank to work correctly, but have two needs.

1)  Would like to avoid the 5-6 when there is a tie.  I'm ok with it listing 5 5 and then 7 for the three series numbers

2)  I would like to also calculate the minimum of 5 different ranks being calculated

 

1)  =if(All_NRx>0,
aggr(rank(sum(All_NRx)), [NSS Territory Name], [NPI Number]),
99999)

you'll see a few that have like 28-30 where there are ties when calculating the same on the Branded NRx field

jbentley_0-1721219999977.png

2)  Is there a way in the same chart to then calculate the Minimum Value of the Rank All NRx, Rank Branded, etc.  Each of these are similar code to above in 1...just changing the All_NRx to Branded_NRx, Branded_TRx, etc

 

 

Labels (3)
0 Replies