cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

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