Aspose::Cells::Pivot::PivotTable::AddCalculatedField method

PivotTable::AddCalculatedField(const U16String&, const U16String&, bool) method

Adds a calculated field to pivot field.

void Aspose::Cells::Pivot::PivotTable::AddCalculatedField(const U16String &name, const U16String &formula, bool dragToDataArea)
ParameterTypeDescription
nameconst U16String&The name of the calculated field
formulaconst U16String&The formula of the calculated field.
dragToDataAreaboolTrue,drag this field to data area immediately

See Also

PivotTable::AddCalculatedField(const char16_t*, const char16_t*, bool) method

Adds a calculated field to pivot field.

void Aspose::Cells::Pivot::PivotTable::AddCalculatedField(const char16_t *name, const char16_t *formula, bool dragToDataArea)
ParameterTypeDescription
nameconst char16_t*The name of the calculated field
formulaconst char16_t*The formula of the calculated field.
dragToDataAreaboolTrue,drag this field to data area immediately

See Also

PivotTable::AddCalculatedField(const U16String&, const U16String&) method

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

void Aspose::Cells::Pivot::PivotTable::AddCalculatedField(const U16String &name, const U16String &formula)
ParameterTypeDescription
nameconst U16String&The name of the calculated field
formulaconst U16String&The formula of the calculated field.

See Also

PivotTable::AddCalculatedField(const char16_t*, const char16_t*) method

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

void Aspose::Cells::Pivot::PivotTable::AddCalculatedField(const char16_t *name, const char16_t *formula)
ParameterTypeDescription
nameconst char16_t*The name of the calculated field
formulaconst char16_t*The formula of the calculated field.

See Also