
## GroupBy function

Custom group the field.

```go

func (instance *PivotField) GroupBy(customgroupitems []DiscreteGroupItem, newfield bool)  (bool,  error) 

```

## Remarks


## See Also

* Class [PivotField](../)
* Library [Aspose.Cells for Go](../../)
