> For the complete documentation index, see [llms.txt](https://docs.datasuite.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datasuite.vn/english/features/data-modeling/measures/basic-measures.md).

# Basic Measures

## Create a Measure

{% stepper %}
{% step %}

#### Open the Data Model & Go to the Measures Tab

Select a workspace, navigate to **Data Model**, choose the Data Model you want to configure, and open the **Measures** tab.

<figure><img src="/files/MabOH8RDti5EwIJlIZUi" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Create a New Measure

Click **Create Measure** and configure the measure as needed.

<figure><img src="/files/Ab5HfcKsTTNMGbNi0Gsb" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Publish the Measure

Click **Publish** to activate the measure.

<figure><img src="/files/pi4h5VfFsNtFn9ysH3d9" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Verify the Measure

Verify the created measure: Go to the **Explorer** tab, select test data, and click **Query** to preview the result.

<figure><img src="/files/NOLMny3MSEW8r4lHJnc1" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Update a Measure

{% stepper %}
{% step %}

#### Open the Measures Tab

Select a workspace, navigate to **Data Model**, choose the model you want to update, and open the **Measures** tab.
{% endstep %}

{% step %}

#### Edit the Target Measure

Click **Action** next to the measure you want to update, then select **Edit**.

<div align="left"><figure><img src="/files/S3NKRT4mcMSDeK7gh1XV" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

#### Save Changes

Make the necessary changes and click **Update** to save.

<div align="left"><figure><img src="/files/OoQeNrqj21dMXEtcG5Cc" alt=""><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

## Delete a Measure

{% stepper %}
{% step %}

#### Open the Measures Tab

Select a workspace, navigate to **Data Model**, choose the model you want to update, and open the **Measures** tab.
{% endstep %}

{% step %}

#### Delete the Target Measure

Click **Action** next to the measure you want to delete, then select **Delete**.

<figure><img src="/files/2ljpH9orZjbAqfYLW4Wo" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Confirm Deletion

Confirm deletion to permanently remove the measure.

<figure><img src="/files/MQP9eEQyGmtDZJsjaGGt" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.datasuite.vn/english/features/data-modeling/measures/basic-measures.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
