> For the complete documentation index, see [llms.txt](https://docs.infotopics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infotopics.com/drilldowntree/configuration/customize-measures/measure-formatting.md).

# Measure formatting

Use the **Label configuration** section of [Customize measures](https://docs.infotopics.com/drilldowntree/configuration/customize-measures.md) to choose how the value of a measure is shown next to each node. Select a measure on the left first: every measure has its own formatting.

<figure><img src="https://3696064508-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffen81laUQFBf286HYARr%2Fuploads%2Fgit-blob-22d4411f802e5b24837b7bcdc312357639623895%2FDDT_CustomizeMeasures_LabelConfig.png?alt=media" alt="The Label configuration section of Customize measures" width="498"><figcaption></figcaption></figure>

| Setting                 | Options                                                                                    | Default             | Description                                                                                                                      |
| ----------------------- | ------------------------------------------------------------------------------------------ | ------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| **Show measure value**  | Without formatting, With formatting                                                        | With formatting     | **With formatting** applies the value formatting, rounding, prefix and suffix below. **Without formatting** shows the raw value. |
|                         | Show custom calculation as a percentage                                                    | Off                 | Multiplies the result of a custom calculation by 100 and adds a % sign. Only available for custom calculations.                  |
|                         | Show only measure value                                                                    | Off                 | Shows only the value, without the percentage label.                                                                              |
| **Label options**       | None, Percentage of group, Percentage of total, Percentage of group \| percentage of total | Percentage of group | The percentage shown with each node: its share of its parent node (group), of the grand total, or both.                          |
| **Percentage rounding** | 0–6                                                                                        | 0                   | The number of decimals of the percentages.                                                                                       |
| **Decimal rounding**    | 0–6                                                                                        | 1                   | The number of decimals of the value.                                                                                             |
| **Value formatting**    | Thousand, Million, Billion                                                                 | K, M, B             | The abbreviations for thousands, millions and billions. Replace them with your own, for example "k" or "mln".                    |
| **Replace null values** | Text                                                                                       | Empty               | The text shown instead of a missing value. When empty, missing values show as "NaN".                                             |
| **Prefix & Suffix**     | Prefix, Suffix                                                                             | Empty               | Text before or after the value, such as a currency sign or a unit.                                                               |

Click **Save** to apply your formatting.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.infotopics.com/drilldowntree/configuration/customize-measures/measure-formatting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
