# Creating Data Profiles

A Data Profile object gathers field statistics for an object to which the data profile is linked. The statistics are collected for each of the selected fields at the time the dataflow runs.&#x20;

{% embed url="<https://youtu.be/9_Dj3Qxp27Y?feature=shared>" %}

They are stored in a proprietary XML file with the .prof extension. This file can be opened for viewing in a new tab when you double click on its link. An example of a field statistics screen is shown below:

![](/files/B4LnMfgADeabykrCljqV)

To add a data profile, drag the *Data Profile* object from the *Logs and Profiles* group in the Flow toolbox and drop it on the dataflow.

An example of what a *Data Profile* object might look like is shown below:

![](/files/GZcvFKVTqZ9PmQyMjr1U)

To configure the properties of a *Data Profile* object, right-click on it and select *Properties*. The following properties are available:

* *Profile File*: specifies the path to the profiler file storing field statistics.
* *Field Statistics* dropdown allows you to select the detail level of statistics to collect. Select among the following detail levels:
  * *Basic Statistics:* This is the default mode. It captures the most common statistical measures for the field’s data type.
  * *No Statistics:* No statistics is captured by the Data Profile.
  * *Detailed Statistics – Case Sensitive Comparison:* Additional statistical measures are captured by the Data Profile, for example Mean, Mode, Median etc., using case sensitive comparison for strings.
  * *Detailed Statistics – Case Insensitive Comparison:* Additional statistics are captured by the Data Profile, using case insensitive comparison for strings.

{% hint style="info" %}
**Note**: A *Data Profile* object is designed to capture statistics for an entire field layout. For this reason, it should be linked to the main *Output* port of the object whose field statistics you wish to collect.
{% endhint %}

* *General Options screen:* The *Comments* input allows you to enter comments associated with this object.

## **Usage**

An example of a dataflow with a Data Profile is shown below:

![](/files/F4ZtAb5vrSkUeDaeMms9)


---

# 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://documentation.astera.com/astera-data-stack-v6/dataflows/data-logging-and-profiling/creating-data-profiles.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.
