Hi All,
I use formula to add a new column, but it seems the cell in the final row is blank.
Can you help to check what is wrong here?
Thank you.
dt = Open( "$SAMPLE_DATA/Cities.jmp" );
dt << New Column( "test_col_loop",
character,
formula(
For( i = 1, i <= N Rows( dt ), i++,
If( Column( "Region" )[i] == "MW",
Column( "test_col_loop" )[i] = "IsMW",
Column( "test_col_loop" )[i] = "NotMW"
)
)
)
);
the result is like this: