PivotChange class

Office 2013 and later

Defines the PivotChange Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is x14:pivotChange.

Namespace:  DocumentFormat.OpenXml.Office2010.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

2.6.40 CT_PivotChange

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main

Referenced by: CT_PivotChanges

A complex type that specifies the value used for PivotTable what-if analysis calculation and specifies the allocation method for how to apply the value. It also specifies a collection of MDX unique names that identifies the original value in the OLAP data source (1) that was changed.

Child Elements:

editValue: A CT_PivotEditValue element that specifies the value that replaces the original value in the OLAP data source (1) for the PivotTable what-if analysis.

tupleItems: A CT_TupleItems element that specifies the MDX unique names that identify the value in the OLAP data source (1) that was changed using PivotTable what-if analysis.

extLst: A CT_ExtensionList ([ISO/IEC-29500-4] section A.2) that specifies future extensibility for this element.

Attributes:

allocationMethod: An ST_AllocationMethod attribute that specifies the allocation method, used by PivotTable what-if analysis, to change the value in the OLAP data source (1).

weightExpression: An ST_Xstring ([ISO/IEC-29500-1] section 22.9.2.19) attribute that specifies the OLAP weight expression for PivotTable what-if analysis. The weightExpression MUST NOT exist if allocationMethod equals equalAllocation or equals equalIncrement. The weightExpression MUST be greater than or equal to 0 and less than or equal to 65,535 characters in length.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_PivotChange">

<xsd:sequence>

<xsd:element name="editValue" type="CT_PivotEditValue" minOccurs="1" maxOccurs="1"/>

<xsd:element name="tupleItems" type="CT_TupleItems" minOccurs="1" maxOccurs="1"/>

<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

<xsd:attribute name="allocationMethod" type="ST_AllocationMethod" default="equalAllocation"/>

<xsd:attribute name="weightExpression" type="x:ST_Xstring" use="optional"/>

</xsd:complexType>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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