Built-in Functions → or

or() is a boolean function that returns true if any of its expression arguments return true and false if none of its expression arguments return true.

Signature

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

Returns

bool

Example

This example returns true if either of the following conditions are met:

  • AMOUNT_SOLD is less then 3600, or
  • COUNTRY_NAME is "Germany".
or(SALES.SALES.AMOUNT_SOLD<3600, SALES.COUNTRIES.COUNTRY_NAME="Germany")