# Open the New Calculated Measure dialog box

You can create calculated measures from several locations within Pentaho Analyzer.

| From the . . .             | Do this:                                                                                                                                                                                       |
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Layout** panel           | Click the Down Arrow next to a base measure, select **User Defined Measure** from the shortcut menu, and then select **Create Calculated Measure**.                                            |
| **Report** panel           | If the measure has been added to the report, right-click the measure in the report, select **User Defined Measure** from the shortcut menu, and then select **Calculated Measure Properties**. |
| **Available Fields** panel | See [Adding a Calculated Measure to the Data Source](/pba/pentaho-analyzer-cp/working-with-analyzer-measures/add-a-calculated-measure-to-the-data-source-analyzer-measures.md).                |


---

# Agent Instructions: 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:

```
GET https://docs.pentaho.com/pba/pentaho-analyzer-cp/advanced-topics/use-calculated-measures-in-analyzer-reports/open-the-new-calculated-measure-dialog-box-pentaho-analyzer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
