MeasureGroups Class

OLAP Measure Groups.When the object is serialized out as xml, its qualified name is x:measureGroups.

Inheritance Hierarchy


Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


<ChildElementInfoAttribute(GetType(MeasureGroup))> _
Public Class MeasureGroups _
    Inherits OpenXmlCompositeElement
Dim instance As MeasureGroups
public class MeasureGroups : OpenXmlCompositeElement


The following table lists the possible child types:

  • MeasureGroup <x:measureGroup>

[ISO/IEC 29500-1 1st Edition] measureGroups (OLAP Measure Groups)

Represents the collection of PivotTable OLAP measure groups.


<measureGroups count="11">
<measureGroup name="Exchange Rates" caption="Exchange Rates"/>
<measureGroup name="Financial Reporting" caption="Financial Reporting"/>
<measureGroup name="Internet Customers" caption="Internet Customers"/>
<measureGroup name="Internet Orders" caption="Internet Orders"/>
<measureGroup name="Internet Sales" caption="Internet Sales"/>
  <measureGroup name="Reseller Orders" caption="Reseller Orders"/>
<measureGroup name="Reseller Sales" caption="Reseller Sales"/>
<measureGroup name="Sales Orders" caption="Sales Orders"/>
<measureGroup name="Sales Reasons" caption="Sales Reasons"/>
<measureGroup name="Sales Summary" caption="Sales Summary"/>
<measureGroup name="Sales Targets" caption="Sales Targets"/>

end example]

Parent Elements

pivotCacheDefinition (§

Child Elements


measureGroup (OLAP Measure Group)




count (Measure Group Count)

Specifies the number of measure groups in the PivotTable.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_MeasureGroups) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


MeasureGroups Members

DocumentFormat.OpenXml.Spreadsheet Namespace