PivotField.GroupBy
Contents
[
Hide
]GroupBy(double, bool)
Automatically group the field with internal
public void GroupBy(double interval, bool newField)
Parameter | Type | Description |
---|---|---|
interval | Double | The internal of group. Automatic value will be assigned if it’s zero, |
newField | Boolean | Indicates whether adding a new field to the pivottable. |
See Also
- class PivotField
- namespace Aspose.Cells.Pivot
- assembly Aspose.Cells
GroupBy(DateTime, DateTime, PivotGroupByType[], double, bool)
Group the file by the date group types.
public bool GroupBy(DateTime start, DateTime end, PivotGroupByType[] groups, double interval,
bool firstAsNewField)
Parameter | Type | Description |
---|---|---|
start | DateTime | The start datetime |
end | DateTime | The end of datetime |
groups | PivotGroupByType[] | Group types |
interval | Double | The interval |
firstAsNewField | Boolean | Indicates whether adding a new field to the pivottable. Only for the first group item. |
Return Value
False means this field could not be grouped by date time.
See Also
- enum PivotGroupByType
- class PivotField
- namespace Aspose.Cells.Pivot
- assembly Aspose.Cells
GroupBy(double, double, double, bool)
Group the file by number.
public bool GroupBy(double start, double end, double interval, bool newField)
Parameter | Type | Description |
---|---|---|
start | Double | The start value |
end | Double | The end of value |
interval | Double | The interval |
newField | Boolean | Indicates whether adding a new field to the pivottable |
Return Value
False means this field could not be grouped by date time.
See Also
- class PivotField
- namespace Aspose.Cells.Pivot
- assembly Aspose.Cells
GroupBy(CustomPiovtFieldGroupItem[], bool)
Custom group the field.
public bool GroupBy(CustomPiovtFieldGroupItem[] customGroupItems, bool newField)
Parameter | Type | Description |
---|---|---|
customGroupItems | CustomPiovtFieldGroupItem[] | The custom group items. |
newField | Boolean | Indicates whether adding a new field to the pivottable |
Return Value
False means this field could not be grouped by date time.
See Also
- class CustomPiovtFieldGroupItem
- class PivotField
- namespace Aspose.Cells.Pivot
- assembly Aspose.Cells