cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

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