PivotTableAddCalculatedField Method (String, String, Boolean)

Adds a calclulated field to pivot field.

Namespace:  Aspose.Cells.Pivot
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public void AddCalculatedField(
	string name,
	string formula,
	bool dragToDataArea
)

Parameters

name
Type: SystemString
The name of the calculated field
formula
Type: SystemString
The formula of the calculated field.
dragToDataArea
Type: SystemBoolean
True,drag this field to data area immediately
See Also