Function: @[INTERSECT]

The function @[INTERSECT(<set1>,<set2>,(<separator>))] returns the values that are present in dataset 1 and in dataset 2. The <separator> argument is optional.

@[INTERSECT(A;C;E,B;C;D;E)] returns C;E.

  • Arguments set1 and set2 can also be defined as attributes, placeholders or functions.
  • If a separator is not specified, the default separator is a semi-colon (;).

    The comma (,) cannot be used as a separator in the datasets, because it is used as the separator between the function arguments.

If you insert the @INTERSECT function from the Create pattern window, the <separator> argument is wrapped in additional parentheses (()) to indicate that it is optional:
You must remove these parentheses to use the argument.

See also