Dimension Element (ASSL)

APPLIES TO: yesSQL Server Analysis Services noAzure Analysis Services

Defines a dimension.


   <Dimension xsi:type="Dimension">...</Dimension> <!-- ancestor: Database -->  
   <!-- or -->  
   <Dimension xsi:type="AggregationDimension">...</Dimension> <!-- ancestor: Aggregation -->  
   <!-- or -->  
   <Dimension xsi:type="AggregationDesignDimension">...</Dimension> <!-- ancestor: AggregationDesign -->  
   <!-- or -->  
   <Dimension xsi:type="AggregationInstanceCubeDimension">...</Dimension> <!-- ancestor: AggregationInstance -->  
      <!-- or -->  
   <Dimension xsi:type="CubeDimension">...</Dimension> <!-- ancestor: Cube -->  
      <!-- or -->  
   <Dimension xsi:type="MeasureGroupDimension">...</Dimension> <!-- ancestor: MeasureGroup -->  
   <!-- or -->  
   <Dimension xsi:type="PerspectiveDimension">...</Dimension> <!-- ancestor: Perspective -->  

Element Characteristics

Characteristic Description
Data type and length See the table below.
Default value None
Cardinality 0-n: Optional element that can occur more than once.
Ancestor or Parent Data Type
Database Dimension
Aggregation AggregationDimension
AggregationDesign AggregationDesignDimension
AggregationInstance AggregationInstanceCubeDimension
Cube CubeDimension
MeasureGroup MeasureGroupDimension
Perspective PerspectiveDimension

Element Relationships

Relationship Element
Parent elements Dimensions
Child elements None


The corresponding elements in the Analysis Management Objects (AMO) object model are Dimension, AggregationDimension, AggregationDesignDimension, CubeDimension, MeasureGroupDimension, and PerspectiveDimension.

See Also

Objects (ASSL)