Skip to main content

INCLUDE_EXACTLY

Written by Tom Williams

Type: Function

Function: INCLUDE_EXACTLY

Syntax: INCLUDE_EXACTLY(list, values)

Description: Returns true if the list contains exactly the values, in any order: all of them, and nothing else.

INCLUDE_EXACTLY is another name for CONTAINS_EXACTLY: both names can be used.

It is the same condition as the contains exactly filter of the insight designer (see Using filters). Use it in a custom formula, to count, group or label records on that condition, or as a filter in a query sent through the Keypup API or MCP server.

Sample usage:

  • INCLUDE_EXACTLY(label_names, ["bug", "urgent"]) returns true for the records whose labels are "bug" and "urgent", and no other.

Did this answer your question?