---
title: Break Out Metrics by Property
description: >-
  Break out an experiment metric by the values of an event property to compare
  lift across segments without creating a separate metric for each value.
breadcrumbs: Docs > Experiments > Break Out Metrics by Property
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Break Out Metrics by Property

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

A single metric often hides meaningful differences between segments of your users. A change that lifts revenue overall might help users on one device type while hurting users on another, and an aggregate result averages those effects together.

Metric property breakouts let you split a metric by the values of an event property-such as country, device type, or browser. This shows you the lift and confidence interval for each value alongside the overall result. You configure the properties and values you care about once on the metric. Datadog computes a separate result for each value, using the same analysis as the parent metric.

A breakout is purely additive: the overall metric is still calculated across all events, and each property value is reported as its own row underneath it.

{% alert level="info" %}
Metric property breakouts split a metric by the event properties you configure on the metric. To compare results by attributes captured when a subject was first exposed (such as a user's region or whether they are a new visitor), use [segment-level results](https://docs.datadoghq.com/experiments/reading_results.md#segment-level-results) instead.
{% /alert %}

## Configure breakouts on a metric{% #configure-breakouts-on-a-metric %}

You define breakouts when you [create or edit a metric](https://docs.datadoghq.com/experiments/defining_metrics.md). Breakouts are supported for metrics built on Product Analytics, Real User Monitoring (RUM), and [warehouse](https://docs.datadoghq.com/experiments/defining_metrics.md?tab=warehouse#create-a-sql-model) data.

1. Navigate to the [Metrics page](https://app.datadoghq.com/product-analytics/experimentation-metrics) in Datadog Product Analytics and create a metric or open an existing one.
1. Configure the [metric definition](https://docs.datadoghq.com/experiments/defining_metrics.md).
1. In the Split by Metric Properties section, click Add Property.
1. Select a Property to break out by (for example, **Country**, **Device Type**, or **Browser**). The available properties come from the metric's data source. For warehouse metrics, the property must be a column on the metric's [SQL model](https://docs.datadoghq.com/experiments/defining_metrics.md?tab=warehouse#create-a-sql-model).
1. In the Values column, select the property values you want to break out (for example, **CA**, **US**, and **UK**).
1. (Optional) Click Add Property again to break out by additional properties, or click the trash icon to remove a property.
1. Click Save.

{% image
   source="https://docs.dd-static.net/images/product_analytics/experiment/metric_property_breakouts/config.9e5392775028651b344cf862eb85cc87.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/experiment/metric_property_breakouts/config.9e5392775028651b344cf862eb85cc87.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="The Split by Metric Properties section of the metric form showing a table with a Property column set to Country and a Values column with CA, US, and UK selected, and an Add Property button below." /%}

### How property values are discovered{% #how-property-values-are-discovered %}

Datadog discovers the available values for each property automatically. It scans the metric's data source over the previous 30 days and keeps the 50 most frequently observed values, ordered by how often they occur. This list refreshes once per day.

If you don't see a value you expect, it might occur too infrequently to rank among the top 50 values, or it might not have appeared in the data source within the last 30 days.

## View broken-out results{% #view-broken-out-results %}

After an experiment runs against a metric that has breakouts configured, you can reveal the per-value results in the experiment's results scorecard.

1. Open your experiment's [results](https://docs.datadoghq.com/experiments/reading_results.md) and switch to the confidence-interval view.
1. Hover over a metric that has breakouts configured to reveal its row actions, then click the Split by Metric Properties icon.
1. Select the properties you want to break out by, then click Apply.

A Property column appears. The parent metric row is labeled Overall, and each selected property value appears as a sub-row (for example, **Country: UK**) with its own per-subject values, relative lift, and confidence interval.

{% image
   source="https://docs.dd-static.net/images/product_analytics/experiment/metric_property_breakouts/scorecard.ca34c2be173846521f45d288b976045d.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/experiment/metric_property_breakouts/scorecard.ca34c2be173846521f45d288b976045d.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="An experiment Decision Metrics scorecard with a Property column. The Demo Server Revenue primary metric row is labeled Overall with a 35.9% relative lift, and sub-rows labeled Country: UK, Country: US, and Country: CA each show their own control and treatment values, relative lift, and confidence interval bars." /%}

To remove a breakout, open the metric's actions again and click the hide action for that property (for example, Hide splits by Country).

{% alert level="info" %}
Splitting and hiding breakouts is a display option that does not change the experiment or metric configuration, so anyone viewing the experiment can apply it. Breakouts are available in the confidence-interval view.
{% /alert %}

### Break out exploration charts{% #break-out-exploration-charts %}

When you [explore results](https://docs.datadoghq.com/experiments/reading_results.md) in a chart, use the Split by selector and choose Metric property followed by the property name to plot each property value as a separate series.

## How breakouts are calculated{% #how-breakouts-are-calculated %}

For each property value you select, Datadog creates a *sub-metric*: a copy of the parent metric with an additional filter that keeps only the events where the property equals that value. For example, a breakout on `Country = US` analyzes the parent metric using only events where the country is `US`.

Each sub-metric flows through the same analysis pipeline as the parent metric, so every breakout value receives its own lift estimate, confidence interval, [CUPED](https://docs.datadoghq.com/experiments/statistics/analysis_methods.md) adjustment, and significance test, computed on its filtered subpopulation. The [analysis method](https://docs.datadoghq.com/experiments/statistics/analysis_methods.md) and confidence level configured for the experiment apply to every breakout.

Because each breakout analyzes a subset of the data, breakouts have smaller sample sizes than the parent metric. A breakout value may need more data than the overall metric to reach statistical significance.

## Supported metrics and constraints{% #supported-metrics-and-constraints %}

Metric property breakouts have the following requirements and limitations:

| Aspect           | Support                                                                                                                                                                                                                                                                                                                                                                                         |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Metric types** | Metrics using any [aggregation method](https://docs.datadoghq.com/experiments/defining_metrics.md#aggregation-methods) (such as count, sum, average, or percentile), as well as [ratio metrics](https://docs.datadoghq.com/experiments/defining_metrics.md#ratio-metrics). Cross-source ratio metrics (where the numerator and denominator come from different data sources) are not supported. |
| **Data sources** | Product Analytics, RUM, and warehouse metrics.                                                                                                                                                                                                                                                                                                                                                  |
| **Properties**   | The property must belong to the metric's data source.                                                                                                                                                                                                                                                                                                                                           |
| **Values**       | Select from the values Datadog discovers for the property (up to 50 of the most frequent values).                                                                                                                                                                                                                                                                                               |
| **Results view** | Breakouts appear in the confidence-interval view of experiment results.                                                                                                                                                                                                                                                                                                                         |

**Note**: [Outlier handling (winsorization)](https://docs.datadoghq.com/experiments/defining_metrics.md) configured on the parent metric is not applied to breakouts, because a threshold computed across the full population is not meaningful for a filtered subpopulation.

## Further reading{% #further-reading %}

- [Create Experiment Metrics](https://docs.datadoghq.com/experiments/defining_metrics.md)
- [Reading Experiment Results](https://docs.datadoghq.com/experiments/reading_results.md)
- [Analysis Methods](https://docs.datadoghq.com/experiments/statistics/analysis_methods.md)
