PivotShowValuesSetting
PivotShowValuesSetting class
Represents the settings about showing values as when the ShowDataAs calculation is in use.
Properties
| Name | Type | Description |
|---|---|---|
| CalculationType | int | Represents how to show values of a data field in the pivot report. The value of the property is PivotFieldDataDisplayFor |
| BaseFieldIndex | int | Represents the base field for a ShowDataAs calculation when the ShowDataAs calculation is in use. |
| BaseItemPositionType | int | Represents type of the base pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data |
| BaseItemIndex | int | Represents 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