> For the complete documentation index, see [llms.txt](https://docs.xviz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xviz.com/performance-management/display-data-in-the-cards/displaying-kpis.md).

# Displaying KPIs

We can add a metric as a display KPI value for every node. In the given example, the salary of every employee is an essential KPI.

Simply insert the KPI measure the in the ‘Values’ data field of the visual:<br>

<figure><img src="/files/AoJzlW1uLavF8Ordgvu2" alt=""><figcaption></figcaption></figure>

Every node will have the KPI value displayed as shown below:

<figure><img src="/files/g65VpNjhnCmGAxQGIFcT" alt=""><figcaption></figcaption></figure>

### Subtotals in xViz Performance Flow:

The xViz Performance Flow offers a Power BI Aggregation feature that enables the aggregation of values based on Power BI's modeling capabilities.

### Steps to Configure the Power BI Aggregation

1. Navigate to the “Display” option in the top ribbon.

<figure><img src="/files/MyHJqCylrIQvKL6mLeB5" alt="" width="347"><figcaption></figcaption></figure>

2. Click on “Number” Tab and enable the "Power BI Aggregation" toggle.

<figure><img src="/files/DKUhozkRljgS6isfdfQx" alt="" width="206"><figcaption></figcaption></figure>

As a result, you can apply Power BI Aggregation to the values in the nodes based on Power BI modeling as shown below:

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

### Subtotals in xViz Performance Flow for Multiple Column Hierarchy:

The xViz Performance Flow provides a **Power BI Aggregation** feature that enables value aggregation based on Power BI’s modeling capabilities for multiple column categories.

When **Power BI Aggregation** is selected, all parent nodes (including the root node, if enabled) will be aggregated according to the **Power BI model subtotal API**.

If a different aggregation option is selected, the aggregation will follow the chosen method instead.

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


---

# 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.xviz.com/performance-management/display-data-in-the-cards/displaying-kpis.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.
