cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

Make New Formula Column return references to the newly created columns

JMP17 has new function called New Formula Column. It would be nice if it were to return the references to the newly created columns in a list, in similar manner as << New Column does for single column. This would make using this function easier

 

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
new_col = dt << New Column("Log2[height]", Numeric, Continuous, Formula(
	Log(:height, 2)
));

new_cols = dt << New Formula Column(Operation("Log 2"), Columns(:height, :weight));

Show(new_col, new_cols);
2 Comments
Status changed to: Acknowledged

Hi @jthi, thank you for your suggestion! We have captured your request and will take it under consideration.

Mauro_Gerber
Level IV

@Sarah-Sylvestre Can you please also add this function to 

ref = dt << Text to Columns(columns( :Y),Delimiters( "_" ));

 

since its sometimes hard to know how many new column are created when executing the function.