Function: Equal

Syntax

Equal(<FieldName|Function>, <Value|Function>)

Description

Equal allows you to compare the value of a field or function to a fixed value, another field or a function.

It will return true if the first parameter is equal to the second parameter.

Examples

Priority high:

Faceted Equal(Priority,High) { COUNT } WHERE EntityType = Requirement

EstimatedDuration is equal to 5 minutes:

Faceted Equal(EstimatedDuration, '5 minutes') { COUNT } WHERE EntityType = Script

CreatedAt date/time is equal to the LastUpdatedAt date/time:

Faceted Equal(CreatedAt, Field(LastUpdatedAt)) { COUNT } WHERE EntityType = Requirement

See Also

  • No labels