Freigeben über


2.2.4.2.2.11.2 MeasureGroupAttribute

This complex type represents an attribute in a MeasureGroupDimension.        

   <xsd:complexType name="MeasureGroupAttribute">
     <xsd:all>
       <xsd:element name="AttributeID" type="xsd:string"/>
       <xsd:element name="KeyColumns" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="KeyColumn"  type="DataItem" minOccurs="0"
                          maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="Type" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string" >
             <xsd:enumeration value="Regular" />
             <xsd:enumeration value="Granularity" />
           </xsd:restriction>
         </xsd:simpleType>
       </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

AttributeID

[Required]

The ID of the attribute.

KeyColumns

KeyColumns from the corresponding DimensionAttribute

A collection of KeyColumn elements that have type DataItem. The Source element within the DataItem MUST be one of the following types: ColumnBinding, AttributeBinding, or InheritedBinding.

Type

Regular

Specifies the type of the MeasureGroupAttribute. It indicates whether the MeasureGroupAttribute is a granularity attribute or a regular attribute. There MUST be exactly one granularity attribute in a MeasureGroupDimension. Therefore, within the collection of Attribute elements, the Type element MUST be present for at least one item in the collection.

Annotations

A collection of Annotation objects.