> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pentaho-data-mastering/configuring-merge-rules/assigning-a-data-element-to-a-merge-rule.md).

# Assigning data elements to a merge rule

A data element is assigned to a merge rule, when the rules defined in the merge rule are to be verified while checking the data of that data element during data curation.

You must have admin privileges to assign a data element to a merge rule.

Perform the following steps to assign a data element to a merge rule:

1. On the left navigation menu, click **Master Data**. The **Master Data** page opens.
2. In the **Merge Rules** card, click **Merge Rules**.

   The**Merge Rules** page opens with the list of merge rules shown in a table.
3. Select the checkbox for the merge rule that you want to assign with a one or more data elements.
4. At the end of the row for the merge rule that you selected, click the more actions icon and select **View Details**.
5. Click the **Data Elements** tab.

   The list of data elements assigned to the merge rule are shown in the data elements table.
6. Click **Assign Data Element** to assign a new data element to the merge rule.

   The **Assign Data Elements** dialog box appears.
7. Select the checkbox for one or more data elements to assign to the merge rule.
8. Click **Assign** to assign the data elements you selected to the merge rule.

   A confirmation dialog box appears.
9. Click **Confirm**.

   A confirmation notification message is shown in the top-right corner of the page. The data elements table for the merge rule appears with the assigned data element listed.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pentaho.com/pentaho-data-mastering/configuring-merge-rules/assigning-a-data-element-to-a-merge-rule.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
