XrmDateTimeGrouping EnumType

Defines the portion of a DateTime value for a group by attribute in aggregate queries.

Members

Members define the discrete options for the enumeration type.

Name Value Description
None 0 No rounding applied (default)
Day 1 Group the attribute rounded to the day.
Week 2 Group the attribute rounded to the week.
Month 3 Group the attribute rounded to the month.
Quarter 4 Group the attribute rounded to the quarter.
Year 5 Group the attribute rounded to the year.
FiscalPeriod 6 Group the attribute rounded to the fiscal period.
FiscalYear 7 Group the attribute rounded to the fiscal year.

Used by

The following use the XrmDateTimeGrouping EnumType.

Name How used
XrmAttributeExpression DateTimeGrouping Property

See also