---
title: Add facets to a service level
source: https://docs.newrelic.com/docs/service-level-management/facet-slm/configure
---

You can enable faceting when creating a new service level or editing an existing one.

## Before you begin [#before-you-begin]

To use faceted service levels, you need an existing [service level](https://docs.newrelic.com/docs/service-level-management/intro-slm/) or the ability to create one.

## Enable faceting on a service level [#enable-faceting]

1.  Go to **[one.newrelic.com > All capabilities](https://one.newrelic.com/all-capabilities) > Service Levels**.

2.  Select an existing service level to edit, or click **+ Add a service level**.

3.  Complete the standard service level configuration steps:

    1.  [Select the entity](https://docs.newrelic.com/docs/service-level-management/create-slm/#select-sli-source).
    2.  [Configure valid events and good/bad events queries](https://docs.newrelic.com/docs/service-level-management/create-slm/#configure-queries).

4.  In the **Group by attributes (optional)** step, from the **FACET** dropdown, select up to 2 attributes that are common to both the valid and good/bad SLI queries. If the `FROM` clause or the `SELECT` function is not the same for both queries, common attributes won't be available and this step is automatically disabled.

    > #### 💡 TIP
    >
    > Only attributes that exist in both your valid events and good/bad events queries appear in the **FACET** dropdown. Start with the most high-impact dimensions to keep your views actionable. Avoid selecting attributes with high cardinality, such as `userId` or `traceId`, as they may make the visualization difficult to interpret.

    ![Screenshot showing the Group by attributes step in service level configuration](https://docs.newrelic.com/images/slm_screenshot-crop_group-by-attributes.webp "Group by attributes configuration")

5.  If you're creating a new service level:

    1.  [Set the SLO time window and target](https://docs.newrelic.com/docs/service-level-management/create-slm/#set-slo).
    2.  [Name and tag your SLI](https://docs.newrelic.com/docs/service-level-management/create-slm/#define-sli).

6.  Save the service level.

> #### ⚠️ IMPORTANT
>
> Compliance and error budgets for facets are calculated from the moment of configuration forward. Historical data is not backfilled or recalculated for facets added to existing service levels.

## Related topics [#related-topics]

[Facet service level compliance and error budgets](https://docs.newrelic.com/docs/service-level-management/facet-slm/intro)

Learn what faceted service levels are and how they work.

[Analyze faceted service level results](https://docs.newrelic.com/docs/service-level-management/facet-slm/analyze)

View and compare compliance and error budget data broken down by facet.

[Create and edit SLIs and SLOs](https://docs.newrelic.com/docs/service-level-management/create-slm)

Learn how to create and configure service levels in New Relic.
