# Compliance - Due Dates

> The **Compliance – Due dates** dashboard displays information regarding activities not meeting deadlines.

## Introduction

The **Compliance – Due dates** dashboard displays information regarding activities not meeting deadlines.

![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-54916-c8bb3d4b-ee740fd4.webp)

:::note
If you want to use the [Compliance - Due dates](https://docs.uipath.com/process-mining/standalone/2021.10/user-guide/templateone-compliance-due-dates#compliance---due-dates) dashboard, the attributes for the `Due dates` table must be loaded in **TemplateOne**. See [Input tables of TemplateOne](https://docs.uipath.com/process-mining/standalone/2021.10/user-guide/input-tables-of-templateone-10#input-tables-of-templateone-202140) - Due dates.
:::

## Due Dates

In **UiPath Process Mining**, a due date is defined as an activity that needs to occur before a specified date. Due dates are used to get information regarding cases meeting or not meeting deadlines and the related costs. Due dates can be predefined to set a significant stage or activity deadline in your processes.

### Actual date vs. Expected date

A due date checks the difference between the **Actual date** of the event and the **Expected date** of the event.

The **Actual date** is defined as the date when the event actually takes place. To create a proper due date, you should also define the **Expected date** for the due date, which is the date when the event is expected to take place. The **Days late** expression calculates the difference between the **Actual date** and the **Expected date**.

## Context information

The context bar at the top of the **Compliance - Due dates** dashboard displays context information and KPI's.

Below is a description of the elements of the context bar.

| Element | Description |
| --- | --- |
| Average days late | The average number of days that it took to complete events after the expected end date. |
| Percentage of late events | The percentage of events that were completed after the expected end date within the selected period. |
| Number of events | The total number of events. |
| Number of cases | The total number of cases. |

## Is the Due date being met on time?

Below is a description of the metrics that can be selected in the **Is the due date being met on time?** dashboard item. See the illustration below.

![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-53568-2c1bbf4e-58fc8b07.webp)

Below is a description of the metrics.

| Metric | Description |
| --- | --- |
| Avg. days late | The average number of days that it took to complete events after the expected end date. |
| Percentage late | The percentage of events that were completed after the expected end date within the selected period. |

## Distribution

The **Distribution** chart enables you to analyze the frequency of due dates based on the number of days late. See the illustration below.

![docs image](https://dev-assets.cms.uipath.com/assets/images/process-mining/process-mining-docs-image-53684-21f73c07-bbc62573.webp)
