cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
CorentinL
Level II

Order of appearance of a set of values

Hello,

 

I'm looking for a JMP built-in function that I'm pretty sure it exists but I could not find.

It helped you create a new column in a datable that will affect to each row the order of appearance of a set of columns. For example, in this table, I want to count the order of appeareace of each set of values {col1, col2} :

CorentinL_0-1715769248002.png

 

It should give me a third column like this :

CorentinL_1-1715769294283.png

 

Maybe I'm wrong, but if any of you can remember a function like this one, it will help me. Thank you !

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Order of appearance of a set of values

Col Cumulative Sum(1, byvars) should work

Col Cumulative Sum(1, :Column 1, :Column 2)

jthi_0-1715770173229.png

Col Rank is another option which might work

-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Order of appearance of a set of values

Col Cumulative Sum(1, byvars) should work

Col Cumulative Sum(1, :Column 1, :Column 2)

jthi_0-1715770173229.png

Col Rank is another option which might work

-Jarmo
CorentinL
Level II

Re: Order of appearance of a set of values

Well thank you, I did find this one but had struggle using it, it works well now !

 

Have a great day

Recommended Articles