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

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