In regards to the "Groups" syntax - that is reserved for a future feature - where it has been implemented in the back-end, but not yet exposed in the UI. There was a mistake adding that in the sample code in the documentation, and it is being updated. The Groups feature will be available in a future release - where it will automatically create the collection and cyclic groups for those specified fields.
DECLARE FIELD DEFINITION TAGGED '$date'
first_month_of_year = 1
Year($1) As Year Tagged '$year',
Month($1) as Month Tagged '$month',
MonthName($1) as MonthName Tagged '$monthname',
Date($1) as Date Tagged ('$date', '$day'),
Week($1) as Week Tagged '$week',
WeekName($1) as WeekName Tagged '$weekname',
Weekday($1) as Weekday Tagged '$weekday',
DayNumberOfYear($1, first_month_of_year) as DayNumberOfYear,
'Q' & ceil*(Month($1)/3) as Quarter Tagged '$quarter'
DERIVE FIELDS FROM FIELDS "Claim Creation Date" USING Calendar;
Please mark the appropriate replies as CORRECT / HELPFUL so our team and other members know that your question(s) has been answered to your satisfaction.