Excel.Interfaces.DataPivotHierarchyUpdateData interface

An interface for updating data on the DataPivotHierarchy object, for use in dataPivotHierarchy.set({ ... }).

Properties

field

Returns the PivotFields associated with the DataPivotHierarchy.

name

Name of the DataPivotHierarchy.

numberFormat

Number format of the DataPivotHierarchy.

position

Position of the DataPivotHierarchy.

showAs

Specifies if the data should be shown as a specific summary calculation.

summarizeBy

Specifies if all items of the DataPivotHierarchy are shown.

Property Details

field

Returns the PivotFields associated with the DataPivotHierarchy.

field?: Excel.Interfaces.PivotFieldUpdateData;

Property Value

Remarks

[ API set: ExcelApi 1.8 ]

name

Name of the DataPivotHierarchy.

name?: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.8 ]

numberFormat

Number format of the DataPivotHierarchy.

numberFormat?: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.8 ]

position

Position of the DataPivotHierarchy.

position?: number;

Property Value

number

Remarks

[ API set: ExcelApi 1.8 ]

showAs

Specifies if the data should be shown as a specific summary calculation.

showAs?: Excel.ShowAsRule;

Property Value

Remarks

[ API set: ExcelApi 1.8 ]

summarizeBy

Specifies if all items of the DataPivotHierarchy are shown.

summarizeBy?: Excel.AggregationFunction | "Unknown" | "Automatic" | "Sum" | "Count" | "Average" | "Max" | "Min" | "Product" | "CountNumbers" | "StandardDeviation" | "StandardDeviationP" | "Variance" | "VarianceP";

Property Value

Excel.AggregationFunction | "Unknown" | "Automatic" | "Sum" | "Count" | "Average" | "Max" | "Min" | "Product" | "CountNumbers" | "StandardDeviation" | "StandardDeviationP" | "Variance" | "VarianceP"

Remarks

[ API set: ExcelApi 1.8 ]