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.

tip

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.

---
metric:
name: cancellations
owners:
- owner@company.com
type: measure_proxy # Measure_proxies are pointers to a measure you created in a data source
type_params:
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