Allow users to reference metrics in where filters for metrics, measures, and saved queries. This uses syntax like:
{{ Metric('metric_name', group_by=['entity_name', 'dimension_name']) }} = 10
This unlocks new types of metrics that users have been asking for. Some examples can be found in the linked issue and in this design doc.
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.
Resolves #273 Resolves SL-1849
Description
Allow users to reference metrics in where filters for metrics, measures, and saved queries. This uses syntax like:
{{ Metric('metric_name', group_by=['entity_name', 'dimension_name']) }} = 10
This unlocks new types of metrics that users have been asking for. Some examples can be found in the linked issue and in this design doc.Checklist
changie new
to create a changelog entry