# Categorical grouping

<figure><img src="https://2268858626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxF3J9z75cLxrADGYFAvj%2Fuploads%2FtHGaK2WmRYVlQ2Og8B89%2FcategoricalGrouping.png?alt=media&#x26;token=b8b93146-7fe1-472c-a167-dd4ee256d17f" alt=""><figcaption></figcaption></figure>

To use categorical grouping, a grouping field has to be in the view, that is an attribute to each KPI cards. Or put differently: each KPI card can only be part of one group.

It's also possible to show a label for each categorical group and customize the spacing between groups.

<figure><img src="https://2268858626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxF3J9z75cLxrADGYFAvj%2Fuploads%2FznOlGbEpoV9uwdbskSSw%2Fgrouping.gif?alt=media&#x26;token=16fe41bd-d6ff-45ca-8346-00a90bd36f31" alt=""><figcaption></figcaption></figure>
