cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hogi
Level XIII

Rerun Transfrom Column

To reevaluate the Formula of a Formula column, one can write

col<<Eval Formula()

Is there a similar command to re-evaluate a Transform Column?

Eval Formula doesn't seem to work here - Tcol1 still shows a curve with ::scalingFactor=1:

hogi_0-1694340250284.png

 

Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = dt << graph builder();

::scalingFactor= 1;
tC = dt << transform column ("TCol1",Formula( :height * ::scalingFactor ));

gb << variables(X(:height), Y(tC));

::scalingFactor=5;
tC << Eval Formula();

tC2 = dt << transform column ("TCol2",Formula( :height * ::scalingFactor ));
gb << add variable({tC2, Role("Y"), Position(1)});  

 

4 REPLIES 4
hogi
Level XIII

Re: Rerun Transfrom Column

When the Transform Column is created by telling the data table to do so

 

col1 = dt << Transform Column ("col1Name", Formula(1/:height));

one can take the return value and sore it as a JSL symbol.

 

Then it's no problem to re-evaluate the formula:

 

col1<<Eval Formula()

 

 

The actual problem: 
If a report (e.g. graph builder) creates a transform column

 

gb = dt << graph builder();
gb << Transform Column ("col2Name", Formula(1/:height));

there is no return value: how to reference a Transform Column?

 

 

So, the question is reduced to:
How to update a a Transform Column which was created by a Report.

hogi
Level XIII

Re: Rerun Transfrom Column

nobody?

jthi
Super User

Re: Rerun Transfrom Column

<< Reset Transform() maybe

jthi_0-1694604745325.png

 

-Jarmo
hogi
Level XIII

Re: Rerun Transfrom Column

nice :)

and how to reference a Transform Column? 

... one which was generated from a Graph Builder object?

Recommended Articles