cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

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