Creates a pivot variable for use in the current session, for the purpose of development. This statement is available only in the MDX shell.

Syntax and Details

SET variable_name variable_value

Where:

variable_name is the name of the pivot variable (without the leading $variable. syntax). The name is not case-sensitive; the system ignores the case when you refer to the variable. You cannot create multiple variables with names that differ only in case.

Note that this pivot variable is independent of any cube and is available only for use within the current shell session.