---
title: Group Product Analytics Events
description: >-
  Add facet breakdowns to split your Product Analytics query into multiple
  values.
breadcrumbs: Docs > Product Analytics > Charts > Analytics > Group Product Analytics Events
---

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

# Group Product Analytics Events

{% 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 %}

A query without a breakdown returns a single value, such as a total count of views. Add a *breakdown* to split that value into categories. For example, given a query of total views, you might add a breakdown for country so you can see where views come from.

## Add a breakdown{% #add-a-breakdown %}

Click Add breakdown to add up to four breakdowns to a single query. Each breakdown appears as a row under compared by in the query builder.

Each breakdown you add splits the results into ever smaller values. For example, a query broken down by both browser and country returns one bucket for each browser-and-country combination in your data, such as Chrome/United States and Chrome/Germany.

{% image
   source="https://docs.dd-static.net/images/product_analytics/analytics/group/analytics-breakdown-1.4f10247f452155d6c654f8edbb78324d.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/analytics/group/analytics-breakdown-1.4f10247f452155d6c654f8edbb78324d.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="A query broken down by browser and country in the Analytics chart builder." /%}

## Choose a measure{% #choose-a-measure %}

By default, a query measures the count of All events.

{% image
   source="https://docs.dd-static.net/images/product_analytics/analytics/group/analytics-measure-count-1.4b369f08265f9a2376341b0a7e0bfae7.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/analytics/group/analytics-measure-count-1.4b369f08265f9a2376341b0a7e0bfae7.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="The default count of all events in the Analytics chart builder." /%}

Change All events to a different value to see a unique count of the specified value. For example, selecting Browser Name returns the number of distinct browsers that viewed a page.

{% image
   source="https://docs.dd-static.net/images/product_analytics/analytics/group/analytics-measure-count-unique-1.123bd30bf5f0134820935d485fe49afb.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/analytics/group/analytics-measure-count-unique-1.123bd30bf5f0134820935d485fe49afb.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="A unique count by browser in the Analytics chart builder." /%}

Change the measure to a statistical aggregation of a numerical facet, such as loading time. Choose average, minimum, maximum, median, sum, or a percentile (75th, 90th, 95th, 98th, or 99th).

{% image
   source="https://docs.dd-static.net/images/product_analytics/analytics/group/analytics-measure-statistical-1.7d65271faed29e6a435dd73dcdbd61ab.png?auto=format&fit=max&w=850 1x, https://docs.dd-static.net/images/product_analytics/analytics/group/analytics-measure-statistical-1.7d65271faed29e6a435dd73dcdbd61ab.png?auto=format&fit=max&w=850&dpr=2 2x"
   alt="Statistical aggregation options for loading time in the Analytics chart builder." /%}
