[]
Specifies the type of subtotal for the specified pivot field.
[Flags]
public enum SubtotalType
Automatic = 1Specifies that the subtotal type is the same as the value of PivotDataConsolidationFunction. If Automatic is used, all other subtotals should be removed.
Average = 8Specifies the average.
Count = 4Specifies the number of values.
CountNums = 128Specifies the number of numeric values.
Max = 16Specifies the maximum.
Min = 32Specifies the minimum.
None = 0Specifies no subtotal is used.
Product = 64Specifies the product.
StdDev = 256Specifies StdDev.
StdDevP = 512Specifies StdDevP.
Sum = 2Specifies sum.
Var = 1024Specifies Var.
VarP = 2048Specifies VarP.