If you prefer to stick with the ‘use as mask’ within the command, you can also write logical statements. This gives you a lot of flexibility.
Step 1 – Set the Use as mask to the column you want to base the criteria
Step 2 – Set Include if value to ‘Logical’.
Step 3 – Enter a logical statement in the criteria box, using ‘v’ to represent the column you selected in Step 1.
By default the criteria box is set to “v!=0”, meaning that the rows are included only when the column selected in step 1 is not equal to zero.
For the example, here is how to set the criteria using Logical statements:
You could also combine ‘And’ statements with ‘Or’ statements like this …
where this is the same as:
(x >1 AND x<8) AND (Category=1 OR Category=2)
You can use the same mathematical operators as in expression columns.
NOTE: Logicals only work with numeric variables, so if you have a text column you have to map it to a number value, which can be done in the definition of the text column.
Hope this helps!