Click or drag to resize

IPivotCalculatedFields Add Method

Adds the calculated field to the specified pivot table.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
IPivotField Add(
	string name,
	string formula
)

Parameters

name
Type: System String
name of the calculated pivot field.
formula
Type: System String
formula of the calculated pivot field.

Return Value

Type: IPivotField
Calculated pivot field
See Also