cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Pro extension simulates Bayesian Optimization runs. Prediction formulas stand in for experimental results. Run simulations and compare results. Download and use the extension.

Discussions

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

Add test number column based on different column value changes

I have a data of a parts that are being tested on different test tester. If part fail on it won't be tested on next stations. I like to add a column to track the test number.

ConfidenceOwl94_0-1738969058461.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Add test number column based on different column value changes

Here is how I would approach the problem with this formula for the column

As Constant( val = 0 );
If( Lag( :Serial Number ) != :Serial Number,
	val = 0
);
If( :Tester == "Tester 1",
	val
	++);
val;

txnelson_0-1738990398651.png

 

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: Add test number column based on different column value changes

Here is how I would approach the problem with this formula for the column

As Constant( val = 0 );
If( Lag( :Serial Number ) != :Serial Number,
	val = 0
);
If( :Tester == "Tester 1",
	val
	++);
val;

txnelson_0-1738990398651.png

 

Jim

Re: Add test number column based on different column value changes

Thanks Jim

Recommended Articles