> For the complete documentation index, see [llms.txt](https://docs.telm.ai/academy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.telm.ai/academy/data-quality-indicators/uniqueness.md).

# Uniqueness

**The number of records that can be identified uniquely based on a predefined key.**&#x20;

{% hint style="info" %}
**Good to know:** Uniqueness is the inverse of duplicates.
{% endhint %}

![](/files/wcMy9pG2FATcZcsjSbZg)

## **Measuring Uniqueness**

**Prerequisite for this is that primary key defined**

Formula : 1 – primary\_key\_count / total\_row\_count

**Common unit of Measure:** Value count or percentage

## **Examples**&#x20;

Three different problems uniqueness could have occurred:

One record with one key value occurs more than once in a dataset (duplicate with identical key values). The two records are not unique.

Key  |    Student Name&#x20;

22     |    John snow

22     |     John snow

Often times Datastore constraints can easily help avoid this issue.

Multiple records with same values occur more than once in a dataset (duplicate with different key values). Object John is not unique in the dataset.

Key  |    Student Name&#x20;

22     |    John snow

37     |     John snow

A record has the same key as another record, and both occur in a dataset (false duplicate). Key 22 is not unique.

Key  |    Student Name&#x20;

22     |    John snow

37     |     John snow

Most often users will need use sophisticated **master data management and Identify resolution systems** for resolving duplicates like these.

**Related dimension:** Consistency


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.telm.ai/academy/data-quality-indicators/uniqueness.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
