> For the complete documentation index, see [llms.txt](https://docs.antsomi.com/cdp-365-user-guide-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antsomi.com/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/unique-list.md).

# Unique List

Unique List returns a list of unique values ​​of an event attribute

## Unique List Configure

### General Information

* **Object:** the corresponding Object that you chose to create the attribute
* **Group attribute:** Group contains attributes that have the same characteristic or usage. [See more about Groups](/cdp-365-user-guide-en/data-hub/business-objects/data-objects/groups.md)
* **Attribute type:** [type of attribute](#kieu-thuoc-tinh) you chose to create
* **Attribute name:** name of the attribute
* **Attribute internal code:** code of the attribute
* **Description:** information describes the attribute

{% hint style="warning" %}
Note: the attribute code does not allow prefixes: number\_, sgmt\_, aud\_&#x20;
{% endhint %}

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FfeAHNMkVk0PA7gAg9qCM%2Fimage.png?alt=media&amp;token=75b13dd5-e15a-4b12-a1dd-66d9b98ebcd8" alt=""><figcaption></figcaption></figure>

### Setting

* **Time range**: time range that this attribute is computed
* **Events:** the event will be computed
* **Sources**: sources that event is logged
* **Event Attribute**: attribute of the event
* **Sort by**: you can sort by ***Tracked time*** or ***Frequency***
* **Sort order**: you can sort by ***Ascending*** or ***Descending***
  * **Get all elements (Maximum 100 elements):** the list contains all elements (Maximum 100 elements)
  * **Get the top \_\_ elements (Maximum 100 elements):** the list contains the top \_\_ of elements (Maximum 100 elements). For instance, get ***the top 3 elements***
* **Add condition**: Condition that the unique list attribute is computed. See more about [Conditions](/cdp-365-user-guide-en/annotation/conditions.md)
* **Attribute usage setting**:
  * **Enable Data Encryption**: mark data encoding for this attribute

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FjJHD1QKMZXQTlwk9eeqX%2Fimage.png?alt=media&amp;token=610fe951-88ee-4144-a872-f299532f0cf1" alt=""><figcaption></figcaption></figure>

### Computation schedule

The schedule that the attribute is computed

See more about the [Computation Schedule](broken://pages/e485ErmJLYjqXpBEEBFU#computation-schedule)

### Notification Setup

* **Account**: set up account(s) receiving notification&#x20;
* **Notify options**: the notification can be sent by email or pushed notification when the computation completes success or fail

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FHIa59ilCmWpvPCzkATRy%2Fimage.png?alt=media&amp;token=a735a94e-b343-4519-9399-ffe473445cb7" alt=""><figcaption></figcaption></figure>

***For example***, find the top 3 most purchased brands of the year

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FwrjR7y5RuwRUeZZtR6w5%2Fimage.png?alt=media&amp;token=49e0ac74-d9ea-4116-8c06-0a47091af197" alt=""><figcaption></figcaption></figure>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.antsomi.com/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/unique-list.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
