> For the complete documentation index, see [llms.txt](https://docs.vdalive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vdalive.com/how-to-guides/data-quality/expectations/custom-expectations.md).

# Custom Expectations

**How to Create a Expectation Template**

Navigate to Template Tab to Create an Expectation Template

<figure><img src="/files/kBneRfVyxQEEa7lt2JbB" 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="/files/NZU01GtCmUFdveNRfmwN" alt=""><figcaption><p>Expectation Statement</p></figcaption></figure>

Templated Expectation has been created
