Function: Equal
Syntax
| Code Block |
|---|
|
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:
| Code Block |
|---|
|
Faceted Equal(Priority,High) { COUNT } WHERE EntityType = Requirement
|
EstimatedDuration is equal to 5 minutes:
| Code Block |
|---|
|
Faceted Equal(EstimatedDuration, '5 minutes') { COUNT } WHERE EntityType = Script
|
CreatedAt date/time is equal to the LastUpdatedAt date/time:
| Code Block |
|---|
|
Faceted Equal(CreatedAt, Field(LastUpdatedAt)) { COUNT } WHERE EntityType = Requirement
|
See Also