AddDimension method: AnalyticModelDefn class
Syntax
AddDimension(DimName)
Description
Use the AddDimension method to add a new dimension to the analytic model. This method fails if the specified dimension already exists.
When you add a dimension to a cube, the dimension is also automatically added to any cube collections that already contain the cube.
Parameters
| Parameter | Description |
|---|---|
|
DimName |
Specify the name of the dimension you want to add. This must be a new dimension. |
Returns
A DimensionDef object.