PivotField.ShowValuesAs

PivotField.ShowValuesAs method

Shows values of data field as different display format when the ShowDataAs calculation is in use.

public void ShowValuesAs(PivotFieldDataDisplayFormat displayFormat, int baseField, 
    PivotItemPositionType baseItemPositionType, int baseItem)
ParameterTypeDescription
displayFormatPivotFieldDataDisplayFormatThe data display format type.
baseFieldInt32The index to the field which ShowDataAs calculation bases on.
baseItemPositionTypePivotItemPositionTypeThe position type of base iteam.
baseItemInt32The index to the base item which ShowDataAs calculation bases on. Only works when baseItemPositionType is custom.

Remarks

Only for data field.

See Also