Aspose::Cells::Pivot::PivotField::AddCalculatedItem method

PivotField::AddCalculatedItem(const U16String&, const U16String&) method

Add a calculated formula item to the pivot field.

void Aspose::Cells::Pivot::PivotField::AddCalculatedItem(const U16String &name, const U16String &formula)
ParameterTypeDescription
nameconst U16String&The item’s name.
formulaconst U16String&The formula of pivot item.

Remarks

Only supports to add calculated item to Row/Column field.

See Also

PivotField::AddCalculatedItem(const char16_t*, const char16_t*) method

Add a calculated formula item to the pivot field.

void Aspose::Cells::Pivot::PivotField::AddCalculatedItem(const char16_t *name, const char16_t *formula)
ParameterTypeDescription
nameconst char16_t*The item’s name.
formulaconst char16_t*The formula of pivot item.

Remarks

Only supports to add calculated item to Row/Column field.

See Also