2.2.4.2.2.9.1 CubeDimension

The CubeDimension complex type defines the dimensions that are part of a cube.

   <xsd:complexType name="CubeDimension">
     <xsd:all>
       <xsd:element name="ID" type="xsd:string" minOccurs="0"/>
       <xsd:element name="Name" type="xsd:string" minOccurs="0"/>
       <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
       <xsd:element name="Translations" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Translation"  type="Translation" minOccurs="0"
                          maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="DimensionID" type="xsd:string"/>
       <xsd:element name="Visible" type="xsd:boolean" minOccurs="0"/>
       <xsd:element name="AllMemberAggregationUsage" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="Full" />
             <xsd:enumeration value="None" />
             <xsd:enumeration value="Unrestricted" />
             <xsd:enumeration value="Default" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="HierarchyUniqueNameStyle"  minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="IncludeDimensionName" />
             <xsd:enumeration value="ExcludeDimensionName" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="MemberUniqueNameStyle" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="Native" />
             <xsd:enumeration value="NamePath" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="Attributes" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Attribute"  type="CubeAttribute" minOccurs="0"
                          maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="Hierarchies" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Hierarchy"  type="CubeHierarchy" minOccurs="0"
                          maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="Annotations" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Annotation"  type="Annotation" minOccurs="0"
                          maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
     </xsd:all>
   </xsd:complexType>

Element

Read-Only

Default value

Description

ID

Defaults to the Dimension ID of the Dimension that is pointed to by the DimensionID element.

The object ID.

Name

Defaults to Dimension Name pointed to by DimensionID.

The object name.

Description

Empty

The object description.

Translations

Empty

A collection of Translation objects.

DimensionID

[Required]

The ID of the dimension to which this CubeDimension points.

Visible

True

When true, specifies that this object is visible; otherwise, false.

AllMemberAggregationUsage

"Default"

Specifies how aggregations are to be designed for the All member.

The enumeration values are as follows:

  • Full - Every aggregation for the cube is to include the All member.

  • None - No aggregation for the cube is to include the All member.

  • Unrestricted - No restrictions are placed on the Aggregation Designer.

  • Default - Same as Unrestricted.

HierarchyUniqueNameStyle

"IncludeDimensionName"

Determines how the system will generate unique names for dimensions.

MemberUniqueNameStyle

"Native"

Determines how the system will generate unique names for members. Enumeration values are as follows:

  • Native – The instance automatically determines the unique names of members.

  • NamePath - The instance generates a compound name consisting of each level and the caption of the member.

Attributes

Empty

A collection of CubeAttribute objects.

The server SHOULD<79> implicitly include any attributes not specified in the collection with their default values.

Hierarchies

Empty

A collection of CubeHierarchy objects.

The server SHOULD<80> implicitly include any hierarchies not specified in the collection with their default values.

Annotations

Empty

A collection of Annotation objects.