You are viewing content for 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


or

Returns true if any of the expressions passed to it evaluate to true.

Example

This example returns true if either of the conditions AMOUNT_SOLD is less then 3600 or COUNTRY_NAME is “Germany”.

or(SALES.SALES.AMOUNT_SOLD<3600, SALES.COUNTRIES.COUNTRY_NAME="Germany")

Syntax

or(bool expr1, bool expr2, ...)
  • exprN : boolean expression to evaluate and check

    Returns

    bool

Notes

Function or returns true if any of its expression arguments return true and false if none of its expression arguments return true.


© Incorta, Inc. All Rights Reserved.