> 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

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="/files/alQ10EqIyxyL1BA6rBNL" 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="/files/xIToBzuml3fNHg4OmyKL" 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.
