Skip to main content

Measure Proxy Metrics

What is a measure proxy metric?

Measure proxy metrics are metrics that refer directly to a measure. These metrics only refer to one measure.


If you've already defined the measure with the create_metric: true parameter passed, you do not need to create measure proxies. However, if you want to include a constraint in the final metric, you will need to define and create a measure proxy metric.

name: cancellations
type: measure_proxy # Measure_proxies are pointers to a measure you created in a data source
measure: cancellations_usd # The measure you are creating a proxy of.
# For any metric optionally include a constraint string which applies a dimensional filter when computing the metric
constraint: |
value > 100 AND user__acquisition