cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

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