Returns the result corresponding to the first matching value. If the case argument evaluates to True, then the corresponding result is returned, otherwise the else argument is returned.
Category: logical
Syntax:
Returns: AnyColumn
Context Filtering: ✓ Yes
Parameters
Validation
- Minimum parameters: 3
- Maximum parameters: Unlimited
Examples
Tests value 1 against cases and returns corresponding result.
Result: One
Dynamically returns different columns based on parameter selection. Last modified on March 13, 2026