cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar

Increasing trend using Jmp Code

Hi,

I have a cycle (Cycle 2) that last for certain rows and then increases its step. For each cycle, I would like to make another column(Column 7) and assign an increasing trend of same numbers but I could not figure out the code for this. 

AlphaPanda86751_0-1661249324678.png

AlphaPanda86751_1-1661249461428.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Increasing trend using Jmp Code

Try Col Rank formula

Col Rank(:"Cycle 2"n, :"Cycle 2"n)

jthi_0-1661252880718.png

 

-Jarmo

View solution in original post

3 REPLIES 3
Georg
Level VII

Re: Increasing trend using Jmp Code

Perhaps it is ->> Tables --> Split that can help you?

 

Georg_0-1661250463931.png

 

Georg

Re: Increasing trend using Jmp Code

@George

Thanks

I don't have the trend column as you show. I want to create "trend" and assign an increasing order of numbers to it

I only have this 

AlphaPanda86751_0-1661251734369.png

 

jthi
Super User

Re: Increasing trend using Jmp Code

Try Col Rank formula

Col Rank(:"Cycle 2"n, :"Cycle 2"n)

jthi_0-1661252880718.png

 

-Jarmo