# How to exclude records from the analysis

## Exclude Records from Data Quality Analysis

### Overview

In Delpha, [you can exclude specific **Account** or **Contact** records from the Data Quality assessment process using the **D Do Not Assess** checkbox field.](/delpha-for-salesforce/delpha-apps/delpha-setup/delpha-configuration/data-quality-account.md#key-configuration-areas)

### How It Works

Each targeted object (Account, Contact) includes a checkbox field provided by Delpha named **Do Not Assess**.

* ✅ When the field is set to `true`, the record is **excluded** from any data quality scoring or recommendation process.
* ❌ When the field is `false` or left blank, the record will be **processed normally** during assessments.

### Custom Exclusion Logic

For advanced scenarios, you can:

1. Open the **Delpha Setup** app in Salesforce.
2. Navigate to the [configuration section](/delpha-for-salesforce/delpha-apps/delpha-setup/delpha-configuration/data-quality-account.md) for the relevant object (Account or Contact).
3. Replace the default **D Do Not Assess** field with your own **custom formula field**.
4. Use that formula to dynamically control which records should be excluded.

This allows for **dynamic, rule-based exclusion**, such as:

* Only assess records created after a certain date.
* Exclude inactive contacts.
* Exclude accounts without a LinkedIn profile.


---

# Agent Instructions: 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://help.delpha.io/delpha-for-salesforce/how-to-faq/delpha-data-quality/how-to-exclude-records-from-the-analysis.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.
