> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt # Breakdowns Canonical URL: https://posthog.com/docs/product-analytics/trends/breakdowns You can use breakdowns to split up trends insights by the values of a specific property, such as by `Current URL`, `Country`, or `email`, or a [cohort of users](#cohorts-and-breakdowns) – pretty much anything you can imagine, really. To add a breakdown, click on '+ Add breakdown' in the group filters section and search for your desired property. The supported properties are: | Name | Description | | --- | --- | | Event properties | Properties specific to a tracked event (e.g. `Current URL`) | | Session properties | Properties specific to a single session (e.g. `Entry URL`) | | Person properties | Properties stored on a user's person profile (e.g. `company_name`) | | Feature flag | Events where a specific feature flag was enabled | | Group properties | Properties stored on a group (requires [group analytics](https://posthog.com/docs/product-analytics/group-analytics.md)) | | Cohorts | Events performed by a pre-defined list of users | | Elements | Autocaptured element properties (text, tag name, or href) for trends and funnels only | | SQL | Custom breakdown using SQL (see our [advanced breakdowns tutorial](https://posthog.com/tutorials/hogql-breakdowns.md)) | Once you've selected a property, you should see your graph split into multiple series, each one corresponding to a distinct value of that property. ![Graph of an insight broken down by a property](https://res.cloudinary.com/dmukukwp6/image/upload/v1710055416/posthog.com/contents/images/docs/user-guides/trends/breakdown-graph-light-mode.png) For readability, PostHog only loads the first 25 values of a breakdown when you first load an insight. You can manually load more values by clicking the 'Load more breakdown values' button. To just see the total count, switch to a total value bar chart or table like the one below. ![Sample breakdown bar chart](https://res.cloudinary.com/dmukukwp6/image/upload/v1710055416/posthog.com/contents/images/docs/user-guides/trends/breakdown-bars-light-mode.png) When viewing breakdowns in a total value bar chart, each breakdown value displays as a separate bar by default. Enable **Stack breakdown values** in the display settings to combine them into stacked bars grouped by series. This is particularly useful with [formulas](https://posthog.com/docs/product-analytics/trends/formulas.md). Trends insights support up to 3 breakdowns at a time. Other insight types support a single breakdown (funnels support a single cohort breakdown). Element breakdowns (text, tag name, and href) are available for trends and funnels only. When you reach the limit, the **\+ Breakdown** button becomes disabled with a tooltip explaining why. If you need more flexibility, you can use [SQL insights](https://posthog.com/docs/sql.md) which don't have this limitation. To breakdown by the combination of browser and operating system, for example, you can use the following SQL expression: ``` concat(properties.$browser, ' - ', properties.$os) ``` > **Tip:** For complex SQL expressions, add `AS column_name` or `-- column_name` to the end of your expression to use a readable label instead of the raw expression in charts and tables. For example: `sumIf(1, properties.$browser = 'Chrome') AS chrome_count`. See our [SQL expression docs](https://posthog.com/docs/sql/expressions.md) for more information. ## Cohorts and breakdowns You can also break down trends insights by [cohorts](https://posthog.com/docs/data/cohorts.md) – a specific list of users you've created that is either static, or updated automatically based on pre-defined properties. You can break down insights by *multiple* cohorts at a time. This is useful if you want to compare how often different groups of users trigger a specific event, or complete an action. When you create a breakdown using a cohort, an 'Add cohort' button will appear where you can add more cohorts to your breakdown. ## Breaking down numerical values into bins When breaking down based on a string value, your graph will be split up with separate series for *every distinct value* of that property. This works well for text values, but it's often too granular when trying to analyze numeric or time properties To solve this, when breaking down a numeric property, you can select a number of 'Bins' to combine ranges of values into. ![Breaking down into 10 bins](https://res.cloudinary.com/dmukukwp6/image/upload/v1710055416/posthog.com/contents/images/docs/user-guides/trends/breakdown-into-bins-light-mode.png) PostHog will then break up your events into the specified number of bins based on the distinct values of the property. For example, if your property can take the values `20, 21, 22, ..., 40` and you split it up into `10` bins, it will break your events up into ranges of `20 - 22`, `22 - 24`, etc. This aggregates all breakdown values, not just the top 25 ones, like it happens for non-numeric values. To have more customization over bins or to bin any type of property, use [SQL](https://posthog.com/tutorials/hogql-breakdowns.md#bin-events).