Applying a Static Filter
The following example illustrates use of the Compare Filter, with static filtering criteria:
- As shown above, a Compare Filter element is added as a child to a datalayer element.
- Its Data Column attribute value is set to the column in that datalayer whose value will be compared.
- The Compare Type attribute is set to define the comparison operator. A number of standard operators are provided in a pull-down list and you may also type-in your own operators, such as != (not equal).
- Finally, the Compare Value attribute is set to the static, or literal, value the data column values will be compared against. Tokens may be used here. Ensure that date values used here are specified in the yyyy-mm-dd format.