> For the complete documentation index, see [llms.txt](https://help.smallbuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smallbuilder.com/smallbuilder-documents/data-merge/data-merge-table-related-grouped.md).

# Data Merge - Table (Related) Grouped

Grouping tabular data from another object

1. See the below link for instructions to set up a basic merged data table.

{% content-ref url="/pages/qI0QgycgaoF81F0UVSeT" %}
[Data Merge - Related List](/smallbuilder-documents/data-merge/data-merge-table-related.md)
{% endcontent-ref %}

***

<div align="left"><figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FQdU5gUAisOfeSGywz2A4%2F%EA%B7%B8%EB%A6%BC24.png?alt=media&amp;token=f7690c24-cd42-43c8-b76f-4463a2b6ef4f" alt=""><figcaption></figcaption></figure></div>

2. Enable `Group` in the field you want to group the records by, and click `Finish`.\
   \*\*Set the relevant options for the other fields, then click `Confirm`.

***

<figure><img src="https://3800415611-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNuSjRiJMvVhtdzNDzWBi%2Fuploads%2FT7jd3Mhet4vuYAeoJnet%2F%EA%B7%B8%EB%A6%BC26.png?alt=media&amp;token=31737615-40a7-4896-b255-7e05dbcfaec4" alt=""><figcaption></figcaption></figure>

3. The merged data field appears in the form `{{!label}}`.

   Just like the unfiltered table, you can see real data when you preview or generate a document using a real record.
