This is a guess on what you want......not sure all of the conditions are properly being checked on
This is a formula.....not open JSL code
dt = Current Data Table();
holdID = :ID;
holdtest_id = :test_id;
holdmain_rad = :main_rad;
numGE15 = N Rows(
dt << get rows where(
holdID == :ID & holdtest_id == :test_id & holdmain_rad ==
:main_rad & :result >= 15
)
);
If( :result >= 15 & numGE15 >= 2,
"Fail",
"Pass"
);
Jim