> For the complete documentation index, see [llms.txt](https://docs.antsomi.com/cdp-365-user-guide-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antsomi.com/cdp-365-user-guide-en/insights/reports/make-reports-interactive/let-viewers-select-the-fields-in-charts.md).

# Let viewers select the fields in charts

Add optional metrics to charts and tables.

### Add optional metrics <a href="#add-optional-metrics" id="add-optional-metrics"></a>

1. Edit your report.
2. Select or [add a chart.](broken://pages/-MfvthrtbUjFhlTWoA8D)
3. On the right, in the properties panel under *Metric*, turn on **Optional metrics**.
4. Click **+Add metric** or drag the metric from the *Available fields* panel.

### Select optional metrics in a chart <a href="#select-optional-metrics-in-a-chart" id="select-optional-metrics-in-a-chart"></a>

1. View your report.
2. Hover over a chart with optional metrics, then in the header, click <img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FrqXHwDguQoIqPtFh36Ks%2Fimage.png?alt=media&amp;token=841d8e61-7452-4dfe-aee4-60e8b96b23a2" alt="" data-size="line">.
3. Select the optional metrics from the list.

The number of optional metrics you can select depends on the chart type and number of required metrics already present in the chart.&#x20;

### Restore the default fields <a href="#restore-the-default-fields" id="restore-the-default-fields"></a>

To revert the chart to its default field set, hover over the chart, then click <img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FG3yrPXkf5fTxnle3RAeJ%2Fimage.png?alt=media&amp;token=e25a7e8b-40cb-4cc0-82f9-bb9f56e9884c" alt="" data-size="line">.

### Limits of optional metrics <a href="#limits" id="limits"></a>

* You can have a maximum of 10 optional metrics per chart.
* Optional metrics are not available for pivot tables, scatter charts.


---

# 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.antsomi.com/cdp-365-user-guide-en/insights/reports/make-reports-interactive/let-viewers-select-the-fields-in-charts.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.
