cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to move from signal modeling to system modeling at the first JMP Aerospace Analytics webinar. Register. June 18, 1 p.m. US Eastern Time.

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