# CalculatedMember element

Contains information about a calculated member in an OLAP-based PivotTable view or report.

## Usage

    <CalculatedMember />

## Element Information

Element type | Anonymous
Namespace | urn:schemas-microsoft-com:office:excel
Schema name | XML Spreadsheet 2000

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
PivotTable | Contains information about a PivotTable view.

### Child Elements

Element | Description
--- | ---
Name | Specifies the name of the OLAP calculated member.
MemberName | Specifies a caption (display name) for the custom OLAP calculated member (not used for sets).
ParentUniqueName | Specifies a unique name for the parent member of the OLAP calculated member (not used for sets).
SourceHierarchy | Specifies a unique name for the hierarchy with which the OLAP calculated member is associated (not used for sets).
SourceHierarchyLevel | Contains an index of the hierarchy level to which a particular OLAP member property applies. A value of 32767 indicates that the OLAP member property applies to all the levels in a hierarchy.
Formula | Contains the MDX representation of the formula for the OLAP calculated member.
SolveOrder | Specifies where in a sequence of calculations a calculated member will be computed and applied.
Invalid | Contains a Boolean value indicating that the OLAP cube changed in such a way as to invalidate the OLAP calculated member.
Set | Contains a Boolean value indicating that a calculation creates a custom OLAP set.

### Attributes

None.

## Definition

    <xsd:element name="CalculatedMember" minOccurs="0" >
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="Name" type="xsd:string" minOccurs="0">
          </xsd:element>
          <xsd:element name="MemberName" type="xsd:string" minOccurs="0">
          </xsd:element>
          <xsd:element name="ParentUniqueName" type="xsd:string" minOccurs="0">
          </xsd:element>
          <xsd:element name="SourceHierarchy" type="xsd:string" minOccurs="0">
          </xsd:element>
          <xsd:element name="SourceHierarchyLevel" type="xsd:integer" minOccurs="0">
          </xsd:element>
          <xsd:element name="Formula" type="xsd:string" minOccurs="0">
          </xsd:element>
          <xsd:element name="SolveOrder" type="xsd:integer" minOccurs="0">
          </xsd:element>
          <xsd:element name="Invalid" minOccurs="0">
          </xsd:element>
          <xsd:element name="Set" minOccurs="0">
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </xsd:element>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp