Duration dimensions automatically generate multiple interval variations (such as days, weeks, months, years) to provide flexible time difference analysis. Duration dimensions behave similarly to timeframe dimensions, automatically creating parameterized versions of the field for different time intervals.Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
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
Referencing duration dimensions
Duration dimensions can be referenced in the model using parameterized syntax, similar to timeframes:${order_fulfillment_time[days]}${order_fulfillment_time[hours]}${order_fulfillment_time[weeks]}
null. For example, a reference like ${order_fulfillment_time} will be null.
Examples
Order fulfillment duration
User account age
Project duration with all intervals
Related parameters
timeframes- For time segmentation of timestamp fieldssql- For custom field calculations