I am sure that Jarmo added it manually.
JSL to create the new column would be:
Names Default To Here( 1 );
Current Data Table() << New Column( "Column 6",
formula(
Col Cumulative Sum(
If( Row() == Col Min( Row(), :testnr, :Serial Number ),
1,
0
),
:Serial Number
)
)
);
Jim