Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
richardouellett
Creator
Creator

Rank() based on frequency & Formatting?

Hi

I am trying to format rank in the attached example, as well as have the rank reflect frequency and that it shows the actual rank 1 - 4 instead of the stating row number, e.g., 1 would remain 1 and 39 would reflect rank 2.  Seem like CAOR should have been ranked # since it had a frequency of 8?  Can you assist?

 

1 Solution

Accepted Solutions
sunny_talwar

Sorry about that, try this:

Aggr(NODISTINCT Num(Rank(Count(Process), 4)), Process)

Capture.PNG

View solution in original post

4 Replies
sunny_talwar

May be this:

Aggr(NODISTINCT Rank(Process), Process)

Capture.PNG

richardouellett
Creator
Creator
Author

Sunny that fixes the numbering format but the ranking based on frequency is not adding up?

sunny_talwar

Sorry about that, try this:

Aggr(NODISTINCT Num(Rank(Count(Process), 4)), Process)

Capture.PNG

richardouellett
Creator
Creator
Author

Sunny thanks so much, that did the trick!