I have a dataset, and I'd like to pass the IN and NOTIN as a parameter to $X{IN, a.col, SomeCollection} When I try $X{$P!{In_NotIn}, a.col, SomeCollection} I get an error. Any other way of accomplishing this? Basically, I have a dataset with a comnplicated query, and I am creating two tables from this dataset. One where values are in a set of values, the other, where values are not in the set of values.