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 that was changed.
Child Elements:
editValue: A CT_PivotEditValue element that specifies the value that replaces the original value in the OLAP data source 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 that was changed using PivotTable what-if analysis.
extLst: A CT_ExtensionList ([ISO/IEC29500-4:2016] 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.
weightExpression: An ST_Xstring ([ISO/IEC29500-1:2016] 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/2] 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/2] section 2.1).