Name

pivotfield.Calculation [= xlPivotFieldCalculation]

Synopsis

Sets or returns the calculation used for items in this field. Can be one of these settings:

xlDifferenceFrom

xlIndex

xlNoAdditionalCalculation

xlPercentDifferenceFrom

xlPercentOf

xlPercentOfColumn

xlPercentOfRow

xlPercentOfTotal

xlRunningTotal

 

OLAP pivot fields are always xlNoAdditionalCalculation.

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.