# Duplicates

Select one or more columns from the input dataset to check for duplicates. If duplicate records are found based on the selected column(s), the test case will be marked as failed. The results will show the total count of duplicate records, along with a sample of the duplicate entries for review.

In the screenshot below, the user has created a rule to detect duplicate records based on the combination of the **Name** and **City** columns in the *User* table.

<figure><img src="https://2027008842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8uOTM2rdJeIbVeXK0c%2Fuploads%2FWpR8wxeRdWhszEqXhDQZ%2FScreenshot%202024-09-26%20at%206.17.20%E2%80%AFPM.png?alt=media&#x26;token=15037979-3c23-46b3-ae42-c9bd32cf1f6a" alt=""><figcaption><p>Duplicates Data Quality UI</p></figcaption></figure>

If there are any with the same **Name** and **City,** they would be shown in the results screen.
