raw, date, week, month, quarter, year.
Timezone handling is possible using the convert_tz argument, done in concert with connection-level timezone settings.
Date or time fields can reference parameterized timeframes in the model as follows:
timestamp_created_at(the βrawβ reference)timestamp_created_at[date]timestamp_created_at[year]timestamp_created_at[day_of_week_name]timestamp_created_at[month_name]
Syntax
Properties
The name of the dimension. Dimension names must:
- Be unique within the view
- Start with a letter
- Contain only alphanumeric characters and underscores
Examples
Custom timeframes
Timezone-specific field
group_label. The group_label should match the label rather than the underlying field:
Custom timeframe in existing group