> ## Documentation Index
> Fetch the complete documentation index at: https://docs.explo.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Embed Variables

Customer 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](/creating-dashboards/variables)
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.

<img src="https://mintcdn.com/explo/4Y9DMZyhe_6AAnca/images/dashboard-features/embed-vars-agg.png?fit=max&auto=format&n=4Y9DMZyhe_6AAnca&q=85&s=fcb62712786876302cf6127aecc7ddca" alt="" width="580" height="804" data-path="images/dashboard-features/embed-vars-agg.png" />

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
