I'm trying to create a control chart that hides/excludes data for this chart only, and then another control chart that hides/excludes the inverse of that data. I've used the code below and it has worked on a previous graph (previously worked w/ graph builder), but does not seem to work on this graph (no data is hidden or excluded). I don't know if it could be because I'm now using Control Chart Builder (rather than graph builder), or if there is some other variable playing into it. Has anyone done this successfully or know what I might be able to try?
dt = Current Data Table();
dt << select where( :Category == "A" );
dt << Hide and Exclude;
dt << clear select;
dt << Control Chart Builder(
Automatic Recalc( 0 ),
.........
dt << select where( :Category == "A" );
dt << Hide and Exclude;
dt << clear select;
I don't want to have to create a subset of data because I'd need to create several sets and I want to keep everything central to one data set.