SetAxes (MDX+)
Set Axis to a Matrix or Vector.
Parameters
Name | Type | Cardinality | Default value |
matrix/vector | expression | one | |
axis | set-expression | one-n |
Return
value
Description
This function allows for setting the axis to an existing Matrix or Vector. It can also be used for resetting the axis of a MatrixA or VectorA.
Matrix().setAxis( [Countries].members, [Years].members ), will return a MatrixA with the new defined sets.
Vector().setAxis( [Countries].members ), will return a VectorA with the new defined sets.
This method will return an error if the sets have not the same size as the one of defined by the Matrix of Vector.
See Also
MatrixA VectorA Matrix Vector ElementValue
Examples
Special Examples (errors, null, ...)
Since Version
4.8
XMLA Properties
Find here the value of the XMLA properties when not specified otherwise.