Case (if/else)

This common method utilizes if-then-else logic, assigning a result when the corresponding condition evaluates to true, otherwise assigning the final ("else") result –> learn more

CASE
  WHEN @condition THEN @result
  [ ... ]
  [ ELSE @else_result ]
  END

Return type

dynamic (input-dependent)

Parameters

Name
Type
Allowed values
Required
Placeholder (in UI)

@condition

(nested) conditions – like those used in a Filter

true

-

@result

true

(Variable or value)

@else_result

true

(Variable or value)

Last updated