This is the function i need and below script is workable when i test, but when i change the column name it do not work, pls check the pic: My column"Target Progress" and "Actual Progress" are the percentage this is a different with big class. How to revise the script?
workable scripts:
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << New Column( "status", "Character", "Nominal" );
:status << Set Values( {"yes", "no"}[(:height << Get As Matrix) <= (:weight << Get As Matrix)] );
Failed scripts: "Target Progress" and "Actual Progress" are the percentage.
dt << New Column( "status", "Character", "Nominal" );
:status << Set Values(
{"yes", "no"}[(:Actual Progress << Get As Matrix) >= (:Target Progress << Get As Matrix)]
);