Type: Function
Function: INCLUDE
Syntax: INCLUDE(list, value)
Description: Returns true if the list contains the value.
INCLUDE is another name for CONTAINS: both names can be used.
It is the same condition as the contains 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(label_names, "bug")returnstruefor the records labelled "bug".INCLUDE(label_names, "bug") ? "Bug" : "Other"as a dimension splits the records between bugs and the rest.
