I am trying to understand the sample script in the "Derived fields" (Link).
DECLARE FIELD DEFINITION TAGGED '$date'
first_month_of_year = 1
Year($1) As Year Tagged ('$numeric'),
Month($1) as Month Tagged ('$numeric'),
Date($1) as Date Tagged ('$date'),
Week($1) as Week Tagged ('$numeric'),
Weekday($1) as Weekday Tagged ('$numeric'),
DayNumberOfYear($1, first_month_of_year) as DayNumberOfYear Tagged ('$numeric')
Year, Week, Weekday type drilldown as YearWeekDayName,
Year, Month, Date type collection as YearMonthDate;
Could not find any document that explain what the "Groups" does.
I am looking at doing drilldown with the date field, so I want to understand the code on the "Groups" as "YearWeekDayName" seems to type as a drilldown.