# KPI for data comparison in Kibana

**URL:** https://discuss.elastic.co/t/kpi-for-data-comparison-in-kibana/322920
**Category:** Kibana
**Created:** [January 11, 2023, 12:04pm UTC](https://discuss.elastic.co/t/kpi-for-data-comparison-in-kibana/322920 "2023-01-11T12:04:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Vasili](https://avatars.discourse-cdn.com/v4/letter/v/a698b9/32.png) [@Vasili](https://discuss.elastic.co/u/Vasili)
#### Post date: [January 11, 2023, 12:04pm UTC](https://discuss.elastic.co/t/kpi-for-data-comparison-in-kibana/322920/1 "2023-01-11T12:04:41Z")

</div>

Hello,

I'm using Kibana 6.8.21, I have created dashboard regarding users Mailbox usage and corresponding carbon emission over time (with following KPIs for instance: number of sent and received emails per day…).

The goal of the report is to show Mailbox consumption and carbon emission over time for users, and to define target for them to decrease consumption (for instance, by 10%).

I need to create chart, which will show target achievement for each user. Can you help me with it?

Thank you in advance

---

<div class="post-metadata">

### Author: ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)
#### Post date: [January 11, 2023, 2:18pm UTC](https://discuss.elastic.co/t/kpi-for-data-comparison-in-kibana/322920/2 "2023-01-11T14:18:51Z")

</div>

Hi @Vasili

welcome to the Kibana community.  
That version of Kibana is pretty old and no longer supported.

In newer versions of Kibana there's the Lens editor for chart which supports formulas and reference lines (like "line" targets) which might be useful to achieve what you are looking for.

---

<div class="post-metadata">

### Author: ![Vasili](https://avatars.discourse-cdn.com/v4/letter/v/a698b9/32.png) [@Vasili](https://discuss.elastic.co/u/Vasili)
#### Post date: [January 11, 2023, 2:35pm UTC](https://discuss.elastic.co/t/kpi-for-data-comparison-in-kibana/322920/3 "2023-01-11T14:35:09Z")

</div>

Thank you Marco for your response. Can you tell me if in this version it's possible to achieve?

And should I update this version directly with the latest one, or are there intermediate steps needed?

Thank you once again.

---

<div class="post-metadata">

### Author: ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)
#### Post date: [January 11, 2023, 3:25pm UTC](https://discuss.elastic.co/t/kpi-for-data-comparison-in-kibana/322920/4 "2023-01-11T15:25:17Z")

</div>

The only thing it comes to mind is to use the TSVB editor in 6.8 as explained in this post: [How to display data as a percentage in Kibana visualizations | Elastic Blog](https://www.elastic.co/blog/how-to-display-data-as-a-percentage-in-kibana-visualizations)

As for upgrade, I think you have to upgrade to 7.x first, then go to latest 8.x.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [February 8, 2023, 3:25pm UTC](https://discuss.elastic.co/t/kpi-for-data-comparison-in-kibana/322920/5 "2023-02-08T15:25:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
