Skip to main contentCustomer objects can be referenced as a variable in:
- Dataset queries
- Text components
- Chart titles
- Goal lines
- Progress goal totals
- Any input field on a chart Format tab that has a
</> by the name.
Embed variables allow users to pass in parameters through the embed code and
not on-dashboard components. Click on Add an embed variable on the variable tab
to create and delete embed variables.
Embed variables can be created in the Variables panel. These variables are referenced directly with the variable name that you provide.
variable_name: This is the variable name you entered when creating the custom variable
Using embed variables for axis aggregation
Some axes and chart types support aggregating date-type columns using embed variables.
To use this feature, you must use pass in variables with the following format:
DATE_HOUR: Hour
DATE_DAY: Day
DATE_WEEK: Week
DATE_MONTH: Month
DATE_YEAR: Year
DATE_PART_WEEK_DAY: Day of Week
DATE_PART_MONTH_DAY: Day of Month
DATE_PART_MONTH: Month of Year
DATE_PART_HOUR: Hour of Day