[]
Specifies date and time units that can be used to group a PivotField.
[Flags]
public enum PivotFieldDateGroupBy
<Flags>
Public Enum PivotFieldDateGroupBy
PivotFieldDateGroupOptions options = new PivotFieldDateGroupOptions();
options.GroupBy = PivotFieldDateGroupBy.Months | PivotFieldDateGroupBy.Years;
PivotFieldDateGroupBy groupBy = options.GroupBy;
| Name | Description |
|---|---|
| Days | Group by days. The group size is controlled by Days. |
| Hours | Group by hours. |
| Minutes | Group by minutes. |
| Months | Group by months. |
| Quarters | Group by quarters. |
| Seconds | Group by seconds. |
| Years | Group by years. |