2.6.23 CT_SetLevel

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

Referenced by: CT_SetLevels

A complex type that specifies an OLAP level of the PivotTable ([ISO/IEC29500-1:2016] section 18.10) cache hierarchy of a PivotTable named set.

Attributes:

hierarchy: An int ([XMLSCHEMA2/2] section 3.3.17) attribute that specifies a reference to the PivotTable cache hierarchy. MUST be a value from the following table.

Value

Meaning

"-2"

The PivotTable measure cache hierarchy is used.

"-1"

No PivotTable cache hierarchy is used.

Greater than or equal to zero

A zero-based PivotTable cache hierarchy index. The referenced CT_CacheHierarchy ([ISO/IEC29500-4:2016] section A.2) element specifies the PivotTable cache hierarchy that is used. MUST be less than the number of CT_CacheHierarchy elements within the CT_CacheHierarchies ([ISO/IEC29500-1:2016] section 18.10) element.

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

 <xsd:complexType name="CT_SetLevel">
   <xsd:attribute name="hierarchy" use="required" type="xsd:int"/>
 </xsd:complexType>

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