This documentation is archived and is not being maintained.

CalculatedMembers Class

Calculated Members.When the object is serialized out as xml, its qualified name is x:calculatedMembers.

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

public class CalculatedMembers : OpenXmlCompositeElement

The following table lists the possible child types:

  • CalculatedMember <x:calculatedMember>

[ISO/IEC 29500-1 1st Edition] calculatedMembers (Calculated Members)

Represents the collection of calculated members in an OLAP PivotTable.


<calculatedMembers count="1">
<calculatedMember name="[Product].[Product Categories].[All
Products].[Calculated Member]" mdx="'[Product].[Product Categories].[All
Products].[Accessories]'" memberName="Calculated Member"
hierarchy="[Product].[Product Categories]" parent="[Product].[Product
Categories].[All Products]"/>

end example]

Parent Elements

pivotCacheDefinition (§

Child Elements


calculatedMember (Calculated Member)




count (Calculated Members Count)

Specifies the number of calculated members.

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_CalculatedMembers) is located in §A.2. end note]

© ISO/IEC29500: 2008.

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