cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

Dense Col Rank again

miguello
Level VI

Going back to this topic:

https://community.jmp.com/t5/Discussions/How-to-tweak-Col-Rank-to-give-consecutive-numbers-when-usin...

 

I need something similar again, but this time I cannot sort table.

So I use formula:

Col Rank( Round( :Column ), :Category, <<tie( "minimum" ) )

It gives me  column filled with the following values: {1, 114, 340, 453, 1018, 1131, 1357}

I need to turn them into {1, 2, 3...} and so on.

One idea is to construct Associate Array where a key would be a position of the number, and the value would the same number, and then use it create a column I need. Any other suggestions?

@jthi - any suggestions?

 

2 REPLIES 2
jthi
Super User


Re: Dense Col Rank again

If you don't need a formula, Summary table can usually be used to calculate the ranks and then you can use Update to add them back to your original table.

-Jarmo

Recommended Articles

No recommendations found