Syntax
Properties
The name of the dimension inheriting configuration. Dimension names must:
- Be unique within the view
- Start with a letter
- Contain only alphanumeric characters and underscores
Example
The following example defines a reusablestatus dimension in a template view, then applies it to dimensions in other views.
First, create the color configuration. In this example, we’re using a template view to centralize our definitions:
color_templates.view
status dimension:
orders.view
status dimension in orders inherits the colors configuration from color_templates.status, while keeping its own sql definition. Updating the template view propagates the change to all dimensions that extend it.