Subscribe Bookmark RSS Feed

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
2 REPLIES
mpb

Super User

Joined:

Jun 23, 2011

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)));
Great !!!
Thanks a lot.
I was breaking by head for several hours with this thing...