Hello JMP Community
I was wondering if there is a way to add an "and" condition to a data filter in JSL.
as an example I made a dataset
If we make a simple model over just the mean,
model = Fit Model( Y( :Data ), Run);
We can restrict the model to just one group with a data filter
dtf = model << Local Data Filter(Columns(:Group), where(:Group == "A"));
However now if I want to add another filter the only JSL options i could find( "Add Filter", "Filter Columns", and similar) only seems to add as an "Or" condition.
dtf << Add Filter(columns(:Outlier), where(:outlier == 0));
dtf << Filter Columns(:Outlier);
The only option seem to be to remove the data filter, then add a new filter with all the conditions
model << Remove Local Data Filter;
dtf = model << Local Data Filter(Columns(:Group, :Outlier), where(:Group == "A"), where(Outlier == 0));
Am i missing a way to add "And" conditions or is this just not possible.
br.
Kasper Schlosser