Class ExcelPivotTableDataFieldShowDataAs¶
Namespace: OfficeOpenXml.Table.PivotTable
Assembly: EPPlus.dll
Represents a pivot fields Show As properties.
Inheritance¶
object ← ExcelPivotTableDataFieldShowDataAs
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Value¶
The value of the "Show Data As" setting
Property Value¶
Methods¶
SetDifference(ExcelPivotTableField, int)¶
Sets the show data as to type Difference
Parameters¶
baseField ExcelPivotTableField
The base field to use
baseItem int
The index of the item to use within the Items collection of the base field
SetDifference(ExcelPivotTableField, ePrevNextPivotItem)¶
Sets the show data as to type Difference
Parameters¶
baseField ExcelPivotTableField
The base field to use
baseItem ePrevNextPivotItem
The previous or next field
SetIndex()¶
Sets the show data as to type Index
SetNormal()¶
Sets the show data as to type Normal. This removes the Show data as setting.
SetPercent(ExcelPivotTableField, int)¶
Sets the show data as to type Percent The base field to use The index of the item to use within the Items collection of the base field
Parameters¶
baseField ExcelPivotTableField
baseItem int
SetPercent(ExcelPivotTableField, ePrevNextPivotItem)¶
Sets the show data as to type Percent The base field to use The previous or next field
Parameters¶
baseField ExcelPivotTableField
baseItem ePrevNextPivotItem
SetPercentOfColumn()¶
Sets the show data as to type Percent Of Column
SetPercentOfRow()¶
Sets the show data as to type Percent Of Row
SetPercentOfRunningTotal(ExcelPivotTableField)¶
Sets the show data as to type Percent Of Running Total
Parameters¶
baseField ExcelPivotTableField
SetPercentOfTotal()¶
Sets the show data as to type Percent Of Total
SetPercentParent(ExcelPivotTableField)¶
Sets the show data as to type Percent Of Parent The base field to use
Parameters¶
baseField ExcelPivotTableField
SetPercentParentColumn()¶
Sets the show data as to type Percent Of Parent Column
SetPercentParentRow()¶
Sets the show data as to type Percent Of Parent Row
SetPercentageDifference(ExcelPivotTableField, int)¶
Sets the show data as to type Percent Of Total The base field to use The index of the item to use within the Items collection of the base field
Parameters¶
baseField ExcelPivotTableField
baseItem int
SetPercentageDifference(ExcelPivotTableField, ePrevNextPivotItem)¶
Sets the show data as to type Percent Of Total The base field to use The previous or next field
Parameters¶
baseField ExcelPivotTableField
baseItem ePrevNextPivotItem
SetRankAscending(ExcelPivotTableField)¶
Sets the show data as to type Rank Ascending The base field to use
Parameters¶
baseField ExcelPivotTableField
SetRankDescending(ExcelPivotTableField)¶
Sets the show data as to type Rank Descending The base field to use
Parameters¶
baseField ExcelPivotTableField
SetRunningTotal(ExcelPivotTableField)¶
Sets the show data as to type Running Total
Parameters¶
baseField ExcelPivotTableField
The base field to use