

# Run a data profile
<a name="dq-profile-run"></a>

To run a data profile, open a table asset in the data catalog and choose the **Data profile** tab.

**To run a profile**  


1. On the **Data profile** tab, choose **Run data profile**.  
![The Data profile tab showing the Run data profile button.](http://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/images/data-profiling/c738789aedab.png)

1. Configure the profile scope:
   + **Rows:** Choose to profile all rows or a percentage-based sample.
   + **Columns**: Choose to profile all columns or select specific columns.
   + **Preprocessing query (optional)**: Enter a custom SQL query (instead of choosing rows/columns) to filter or transform data before profiling. The query must be a read-only SELECT statement.

1. Choose **Run data profile**.  
![Run data profile configuration options showing rows, columns, and preprocessing query fields.](http://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/images/data-profiling/a50e44444571.png)

The profile runs asynchronously. You can view progress on the **Data profile** tab and cancel an in-flight run if needed. By default, this will run a one-time profile job and create a snapshot of results. You can also schedule profile runs to execute automatically at regular intervals. For more information, see [Schedule profile runs](dq-profile-schedule.md).