PivotTable.AddCalculatedField

AddCalculatedField(string, string, bool)

Adds a calculated field to pivot field.

public void AddCalculatedField(string name, string formula, bool dragToDataArea)
ParameterTypeDescription
nameStringThe name of the calculated field
formulaStringThe formula of the calculated field.
dragToDataAreaBooleanTrue,drag this field to data area immediately

See Also


AddCalculatedField(string, string)

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

public void AddCalculatedField(string name, string formula)
ParameterTypeDescription
nameStringThe name of the calculated field
formulaStringThe formula of the calculated field.

See Also