As part of a larger program, i'm launching the distribution platform and am extracting certain data from the different display boxes.
Up till now i've been doing this using "Where" and looping through different variables from a column. I now want to do the same thing using "By" so that i only launch the platform once and grab all the data.
When i modify my code and go from "Where" to "By", i get an error of:
expected character arg 1{256} in access or evaluation of 'Number Col Box' , Number Col Box/*###*/(1)
The exact same code used to work with "Where".
The platform launches properly and the Tree looks identical, so i'm not sure why i cant address the display box.
Can someone help?
example = current data table () <<Distribution(
Continuous Distribution(
Column( :C.1.1 ),
Quantiles( 0 ),
Vertical( 0 ),
Outlier Box Plot( 0 ),
Customize Summary Statistics(
Std Err Mean( 0 ),
Upper Mean Confidence Interval( 0 ),
Lower Mean Confidence Interval( 0 ),
N Missing( 0 ),
Minimum( 1 ),
Maximum( 1 ),
Range( 0 )
)
),
By(:Col2)
//Where( :Col2 == "S180079#1" )
);
reportEx = example << Report;
capability = reportEx[Number Col Box( 1 )];
show(capability << Get As Matrix);