# Big Number

## Render Types

Big Number has two render types: Text and Gauge.

| Text <picture><source srcset="/files/l1ytkfhamnrmlyKNKmO4" media="(prefers-color-scheme: dark)"><img src="/files/7JCHpzmADWnBbClHRDMM" alt="BigNumber Text"></picture> | Gauge <picture><source srcset="/files/2JyrrAmRwZr1UKWbx3F4" media="(prefers-color-scheme: dark)"><img src="/files/xHbLSf2w8mBKR2b1zuEq" alt="BigNumber Gauge"></picture> |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

## Specifications

### Aggregation

Big Number [aggregates the selected metric without specifying dimensions](/data-exploration/chart/chart-common.md#dimension-metric) and displays it as a single value.

| Item             | Role   | Notes                                            |
| ---------------- | ------ | ------------------------------------------------ |
| Metric           | Metric | Displays the aggregated result as a single value |
| Secondary metric | Metric | Used as the maximum value for gauge              |

#### Example Configurations

* Show "Total sales overall" as text
  * Metric: Sum of sales
* Show "Achievement rate" as a gauge
  * Metric: Sum of actuals
  * Secondary metric: Sum of targets

### Gauge

* The gauge achievement rate is calculated as "Metric ÷ Secondary metric × 100"
* Secondary metric is required and must be numeric

## Tips

### Conditional styles

By configuring "Conditional styles" in "Advanced", you can change the font color based on the metric value. For example, you can color the value as danger when it is 80 or less, and success when it is 100 or more.


---

# 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.codatum.com/data-exploration/chart/bignumber.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.
