AddCalculatedField

PivotTable.AddCalculatedField method (1 of 2)

Adds a calculated field to pivot field.

public void AddCalculatedField(string name, string formula, bool dragToDataArea)
Parameter Type Description
name String The name of the calculated field
formula String The formula of the calculated field.
dragToDataArea Boolean True,drag this field to data area immediately

See Also


PivotTable.AddCalculatedField method (2 of 2)

Adds a calculated field to pivot field and drag it to data area.

public void AddCalculatedField(string name, string formula)
Parameter Type Description
name String The name of the calculated field
formula String The formula of the calculated field.

See Also