# Measure

{% hint style="info" %}
Reliable data serves as the bedrock for sound business decisions, and PDQ provides data quality solutions designed to optimize crucial DQ dimensions such as accuracy, completeness, consistency, timeliness, validity, and uniqueness.&#x20;

PDQ empowers users to recognize, comprehend, and rectify data imperfections, fostering improved decision-making and governance. PDQ provides the user with out-of-the-box capabilities to measure data quality across data assets in the organization by applying data quality rules.
{% endhint %}

{% tabs %}
{% tab title="Out of the box Measures" %}
{% hint style="info" %}
PDQ houses over 150+ Out-of-box measures across health, frequency, distribution, and statistical categories with dimensions based on the criticality of data to improve accuracy toward business outcomes.&#x20;
{% endhint %}

x

x

1. Navigate to Settings > Quality.

x

x

2. Enable/disable a measure for any given asset at a platform level, before conﬁguring an asset.

x
{% endtab %}

{% tab title="Custom Measures" %}
{% hint style="info" %}
While the platform includes more than 150 measures, it is not conﬁned to this predeﬁned set. Users have the ﬂexibility to personalize their measures by employing either straightforward conditional arguments or a query mechanism.&#x20;

Custom measures can be created at an asset or attribute level depending on requirement.
{% endhint %}

x

1. Open the asset > Go to properties > Click on the + icon at the top right corner of the measures table.

{% tabs %}
{% tab title="Conditional" %}
{% hint style="info" %}
Users can establish rules grounded in predeﬁned conditional values, and PDQ additionally offer the capability to incorporate multiple conditional rules and rule groups within a single measure.
{% endhint %}

x

x

x

x

{% endtab %}

{% tab title="Query" %}
{% hint style="info" %}
PDQ enables users to employ native database queries for creating measures.&#x20;

For instance, users can utilize queries like "Select \* from Person.data where ID < 100" or employ joins to ﬁlter the data. The valid toggle buttons can be utilized to set the polarity of the results.
{% endhint %}

x

x

x
{% endtab %}
{% endtabs %}
{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="First Tab" %}

{% endtab %}

{% tab title="Second Tab" %}
x
{% endtab %}
{% endtabs %}

x

x


---

# 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://academy.pentaho.com/data-quality-en/pentaho-data-quality/getting-started/measure.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.
