Scripting Index has multiple examples on how you can compare multiple values with a list
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Cities.jmp");
obj = dt << Data Filter(
Add(Filter Columns(:Region), Where(:Region = {"N", "S"}))
);
Wait(1);
obj << (Filter Column(:Region) << Clear Selection);
You can "disable" the filter for example by disabling the tab page box but this can easily mess up the filter as user could for example use Clear
Window("Data Filter for Cities")["Data Filter",TabPageBox(1)] << Enabled(0);
-Jarmo