I wrote a script that finds rows where col2 and col3 match specific strings and then returns the value of the cell in col7 of those rows. However, I am having problems writing these variables to New Columns in New Tables.
....
New Table( "Results",Add Rows( 2 ),
New Column( " FUS",Character,"Nominal",
Set Values({"Fus1","Fus2"})),
New Column( "PASS/FAIL",continuous,"Nominal", formula( Name Expr(APass)),formula(Name Expr(BPass)));
) Here, APass and Bpass are variables that equal the column7 value from respective search rows. They are strings Pass and Fail respectively. However, when I create the table the last function overides and fills in its results across the entire table. So the table should be Fus1-Pass Fus2-Fail, but outputs Fus1-Fail Fus2-Fail. The reverse when I change the order.
Any help on how to populate a new column with multiple variables ?
Much Appreciated