> For the complete documentation index, see [llms.txt](https://docs.ox.security/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ox.security/generate-reports/custom-reports/add-a-metric-card-number-chart.md).

# Add a Metric Card (Number Chart)

Use a **Metric Card** (called **Number Chart** in the UI) to display a single aggregated value, such as the number of issues, applications, or resolved items in a defined time range. Metric Cards are useful for highlighting KPIs and high-level counters in a custom report.

<figure><img src="/files/9akFKTd1WrvO9gLllHa0" alt="" width="563"><figcaption></figcaption></figure>

| Area        | Description                                                                                                                                        |
| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| Widget name | The name of the widget appears as the title on the report tile.                                                                                    |
| Data source | Dataset used to calculate the value, such as Issues, SBOM, Applications, Pipeline Issues, Resolved Issues, or Removed Issues.                      |
| Date range  | <p>Time window for the calculation.<br>Available for the following data sources:<br>- Pipeline Issues<br>- Resolved Issues<br>- Removed Issues</p> |
| Filters     | Widget-level filters that limit which items are counted. These filters apply only to this widget and are saved with it.                            |
| Preview     | Live preview of the calculated value based on the current configuration.                                                                           |

**To add a Metric Card:**

1. In **Custom Reports**, select **ADD WIDGET > Number Chart**.
2. In **Widget name**, enter a clear title that reflects both the metric and the time window, for example, *Resolved issues – last 90 days*.
3. In the **Data source**, select the dataset to count.
4. If available for the selected source, configure the **Date range**.

> **Note:**\
> The global date range overrides the widget’s saved date range. When no global date range is selected, the widget uses its own configuration.

5. Open **Filters** and apply any widget-level filters needed to narrow the count.
6. Review the **Preview** to confirm the value.
7. Select **SAVE WIDGET**.


---

# 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.ox.security/generate-reports/custom-reports/add-a-metric-card-number-chart.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.
