Features

  • Define metrics in one place and use them across a variety of use-cases without the need to maintain defintions.
  • Track historical results, see automated projections and compare them to business goals.
  • Use pre-built calculations to quickly explore how metrics change over time.

Defining Metrics

Our metric builder allows teams to easily input metric definitions and dynamically generate the yml used to store them in dbt. We also include some best practice metadata so that Push.ai and other systems can better organize and deliver value using metrics. Below is the complete list of properties that are needed to make metrics.

Definition Types

  • Metric Builder - The easiest way to define a metric. Select a table and the fields used to configure a metric.
  • Custom SQL - A flexible solution with the ability to join tables, edit and paste in SQL from other sources.
  • Derived Metric - Use existing metrics to define metrics with parent-child relationships, like average order value.

Definition Configuration

FieldDescriptionExampleRequired?
TableThe table used to calculate this metricdim_customersyes (no for derived metrics)
Calculation TypeThe method of calculation that is applied to the expressioncount_distinctyes
Calculation FieldThe expression to aggregate/calculate overuser_idyes
Date FieldThe time-based component of the metricsignup_dateyes
DimensionsA list of dimensions to group or filter the metric by[plan, country]no
FiltersA list of filters to apply before calculating the metricstatus = ‘active’no

Properties

Metric properties define how a metric is calculated in Push.

FieldDescription
Goal DirectionDefines whether the business goal is to increase or decrease the metric.
Aggregation PropertiesConfigures whether this metric can be aggregated across the date dimension.
Metric FormatConfigures whether a metric will display as a number, percent or currency when displayed.

Derived Metrics

Derived metrics use existing metric definitions to calculate a new metric with a parent-child relationship. For example, Profit is a derived metric that can be calculating using the parent metrics of Revenue and Cost (profit = revenue - costs). Using derived metrics makes maintaining metric definitions easier by defining the supporting metrics in one definition and then having the derived metrics inherit any metric changes.

With derived metrics, dimensions are inherited. The dimensions available for derived metrics are the ones shared by all related metrics

Calculations

Calculations help us explore how metrics change over time. You are likely already familiar with them if you’ve used traditional Business Intellignece tools.

In Push.ai, calculations are used to compare metrics across time periods. Each calculation in Push.ai is associated with two time periods, a current period and a previous period. Individual calculations will be relevant depending on the use-case (e.g., you want to track something on a daily v. monthly cadence) or the nature of the business (e.g., you run an ecommerce business and order volume has a strong day-of-week seasonality).