PivotTableAddCalculatedField Method (String, String, Boolean)

Adds a calculated field to pivot field.

Namespace:  Aspose.Cells.Pivot
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
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