Switch (MDX)

Evaluates a list of expressions and returns a Variant value or an expression associated with the first expression in the list that is True.

  • Returned Output: Variant
  • Library: MDX \ VBA \ Logical
  • Version: 2018.00.000
  • Compatibility: Microsoft MDX Engines only

Syntax

Switch( <Case N> , <Statement N> )
Further Help on Syntax and Examples
  • For more details on using the VBA library in MDX please click here.
  • For more details on the syntax of the VBA function please click here