Variables
Tips
Segmenting customer data
{{customer_id}}
-
The customer variable is a default variable that’s already created in every dashboard.
-
It is important to use this variable in every dataset that a panel is built off of if you want it to be customer specific. To configure this, select the field that has your customer’s ID and set it equal to
{{customer_id}}
Example
Additional operators
Variables can be used with other operators as well to achieve different filtering needs
Improving query speed by filtering before joining
In general, it is best to filter tables before joining to other tables, by doing so, you can significantly cut down the calculation and query time needed to compute the entire query.
Example