cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
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