PivotShowValuesSetting

PivotShowValuesSetting class

Represents the settings about showing values as when the ShowDataAs calculation is in use.

Properties

NameTypeDescription
CalculationTypeNumberRepresents how to show values of a data field in the pivot report. The value of the property is PivotFieldDataDisplayFor
BaseFieldIndexNumberRepresents the base field for a ShowDataAs calculation when the ShowDataAs calculation is in use.
BaseItemPositionTypeNumberRepresents type of the base pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data
BaseItemIndexNumberRepresents the custom index of the pivot item in the base field when the ShowDataAs calculation is in use. Valid only fo

PivotShowValuesSetting.CalculationType property

Represents how to show values of a data field in the pivot report. The value of the property is PivotFieldDataDisplayFormat integer constant.

Type: Number

PivotShowValuesSetting.BaseFieldIndex property

Represents the base field for a ShowDataAs calculation when the ShowDataAs calculation is in use.

Type: Number

PivotShowValuesSetting.BaseItemPositionType property

Represents type of the base pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data fields. Because PivotItemPosition.Custom is only for read,if you need to set PivotItemPosition.Custom, please set PivotField.BaseItemIndex attribute. The value of the property is PivotItemPositionType integer constant.

Type: Number

PivotShowValuesSetting.BaseItemIndex property

Represents the custom index of the pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data fields.

Type: Number