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)
Parameter | Type | Description |
---|---|---|
displayFormat | PivotFieldDataDisplayFormat | The data display format type. |
baseField | Int32 | The index to the field which ShowDataAs calculation bases on. |
baseItemPositionType | PivotItemPositionType | The position type of base iteam. |
baseItem | Int32 | The index to the base item which ShowDataAs calculation bases on. Only works when baseItemPositionType is custom. |
Remarks
Only for data field.
See Also
- enum PivotFieldDataDisplayFormat
- enum PivotItemPositionType
- class PivotField
- namespace Aspose.Cells.Pivot
- assembly Aspose.Cells