# Custom Expectations

**How to Create a Expectation Template**

Navigate to Template Tab to Create an Expectation Template

<figure><img src="https://4133454587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfOPtN4DPW3XVXKtINi7z%2Fuploads%2FH6uHeBB4VMSnuf4fW4MH%2Fimage.png?alt=media&#x26;token=504f49f3-4420-4890-956d-ed6e70354793" alt=""><figcaption><p>Expectation Template</p></figcaption></figure>

Click on the + sign at the bottom right corner

Add Expectation statement to generate SQL Query

Select the Template Type as Expectation Template&#x20;

Check the details once the SQL statement is generated

Click on Submit to Continue

<figure><img src="https://4133454587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfOPtN4DPW3XVXKtINi7z%2Fuploads%2FTQ98t4ccGKDcbelKOXS6%2FScreenshot%202024-06-25%20173940%201.png?alt=media&#x26;token=4f3cbbc8-e86e-439f-b2f4-2ea7246c3370" alt=""><figcaption><p>Expectation Statement</p></figcaption></figure>

Templated Expectation has been created
