PivotShowValuesSetting

PivotShowValuesSetting class

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

Properties

NameTypeDescription
CalculationTypeintRepresents how to show values of a data field in the pivot report. The value of the property is PivotFieldDataDisplayFor
BaseFieldIndexintRepresents the base field for a ShowDataAs calculation when the ShowDataAs calculation is in use.
BaseItemPositionTypeintRepresents type of the base pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data
BaseItemIndexintRepresents 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: int

PivotShowValuesSetting.BaseFieldIndex property

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

Type: int

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: int

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: int