Choose Language Hide Translation Bar

Scripting Basics

Instead of making a summary subset by the following script:
dt = current data table();
dt1 = dt << Summary(Group( :Test Type));

I want to define the "Test Type" as a variable, something similar to:
dt = current data table();
A = "Test Type"
dt1 = dt << Summary(Group( :A));

Didn't find any way to do this....

Thank you in advance.
* using JMP 7.0.2
0 Kudos
Super User mpb
Super User

Re: Scripting Basics

This works in 7.0.1 and 8.0.2 with Fitness as the current data table:

dt = current data table();
A = "Sex";
dt1 = dt << Summary(Group( column(A)));
0 Kudos

Re: Scripting Basics

Great !!!
Thanks a lot.
I was breaking by head for several hours with this thing...
0 Kudos