2.46 SubtotalSet

The SubtotalSet element specifies a collection of subtotals to calculate for measures in a measure group.

The following are the parent and child elements of the SubtotalSet element.

Parent elements

SubtotalSets

Child elements

SubtotalSet.SubtotalGroupings

SubtotalSet.SubtotalMeasures

The following is the XML Schema definition of the SubtotalSet element.          

 <xsd:complexType name="SubtotalSetType">
   <xsd:all>
     <xsd:element name="SubtotalGroupings" minOccurs="0">
       <xsd:complexType>
         <xsd:sequence>
           <xsd:element name="GroupingName" type="xsd:string" 
                        maxOccurs="unbounded" />
         </xsd:sequence>
       </xsd:complexType>
     </xsd:element>
     <xsd:element name="SubtotalMeasures" minOccurs="0">
       <xsd:complexType>
         <xsd:sequence>
           <xsd:element name="MeasureName" type="xsd:string" 
                        maxOccurs="unbounded" />
         </xsd:sequence>
       </xsd:complexType>
     </xsd:element>
   </xsd:all>
 </xsd:complexType>