Aspose::Cells::Pivot::PivotField::GroupBy method

PivotField::GroupBy(double, bool) method

Automatically group the field with internal.

void Aspose::Cells::Pivot::PivotField::GroupBy(double interval, bool newField)
ParameterTypeDescription
intervaldoubleThe internal of group. Automatic value will be assigned if it’s zero,
newFieldboolIndicates whether adding a new field to the pivottable.

See Also

PivotField::GroupBy(const Vector <PivotGroupByType>&, double, bool) method

Automatically group the field with internal.

void Aspose::Cells::Pivot::PivotField::GroupBy(const Vector<PivotGroupByType> &groups, double interval, bool newField)
ParameterTypeDescription
groupsconst Vector <PivotGroupByType>&Group types
intervaldoubleThe internal of group. Automatic value will be assigned if it’s zero,
newFieldboolIndicates whether adding a new field to the pivottable.

See Also

PivotField::GroupBy(const Date&, const Date&, const Vector <PivotGroupByType>&, double, bool) method

Group the file by the date group types.

bool Aspose::Cells::Pivot::PivotField::GroupBy(const Date &start, const Date &end, const Vector<PivotGroupByType> &groups, double interval, bool firstAsNewField)
ParameterTypeDescription
startconst Date&The start datetime
endconst Date&The end of datetime
groupsconst Vector <PivotGroupByType>&Group types
intervaldoubleThe interval
firstAsNewFieldboolIndicates whether adding a new field to the pivottable. Only for the first group item.

ReturnValue

False means this field could not be grouped by date time.

See Also

PivotField::GroupBy(bool, const Date&, bool, const Date&, const Vector <PivotGroupByType>&, double, bool) method

Group the file by the date group types.

bool Aspose::Cells::Pivot::PivotField::GroupBy(bool isAutoStart, const Date &start, bool isAutoEnd, const Date &end, const Vector<PivotGroupByType> &groups, double interval, bool firstAsNewField)
ParameterTypeDescription
isAutoStartboolIndicates whether to auto detect the start date time value.
startconst Date&The start datetime
isAutoEndboolIndicates whether to auto detect the end date time value.
endconst Date&The end of datetime
groupsconst Vector <PivotGroupByType>&Group types
intervaldoubleThe interval
firstAsNewFieldboolIndicates whether adding a new field to the pivottable. Only for the first group item.

ReturnValue

False means this field could not be grouped by date time.

See Also

PivotField::GroupBy(double, double, double, bool) method

Group the file by number.

bool Aspose::Cells::Pivot::PivotField::GroupBy(double start, double end, double interval, bool newField)
ParameterTypeDescription
startdoubleThe start value
enddoubleThe end of value
intervaldoubleThe interval
newFieldboolIndicates whether adding a new field to the pivottable

ReturnValue

False means this field could not be grouped by date time.

See Also

PivotField::GroupBy(bool, double, bool, double, double, bool) method

Group the file by number.

bool Aspose::Cells::Pivot::PivotField::GroupBy(bool isAutoStart, double start, bool isAutoEnd, double end, double interval, bool newField)
ParameterTypeDescription
isAutoStartboolIndicates whether to auto detect the start value.
startdoubleThe start value
isAutoEndboolIndicates whether to auto detect the end value.
enddoubleThe end of value
intervaldoubleThe interval
newFieldboolIndicates whether adding a new field to the pivottable

ReturnValue

False means this field could not be grouped by date time.

See Also

PivotField::GroupBy(const Vector <CustomPiovtFieldGroupItem>&, bool) method

Custom group the field.

bool Aspose::Cells::Pivot::PivotField::GroupBy(const Vector<CustomPiovtFieldGroupItem> &customGroupItems, bool newField)
ParameterTypeDescription
customGroupItemsconst Vector <CustomPiovtFieldGroupItem>&The custom group items.
newFieldboolIndicates whether adding a new field to the pivottable

ReturnValue

False means this field could not be grouped by date time.

See Also