# Comparison between two data in kibana

**URL:** https://discuss.elastic.co/t/comparison-between-two-data-in-kibana/218538
**Category:** Kibana
**Created:** [February 10, 2020, 8:22am UTC](https://discuss.elastic.co/t/comparison-between-two-data-in-kibana/218538 "2020-02-10T08:22:28Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)
#### Post date: [February 10, 2020, 1:14pm UTC](https://discuss.elastic.co/t/comparison-between-two-data-in-kibana/218538/2 "2020-02-10T13:14:29Z")

</div>

> [@ROHINI13](#):
>
> Can anyone help me how to compare between the different two weeks data ??

Not sure about Lens, but it can be done in Timelion as

```auto
.es(...).subtract(.es(...))

```

another example [How to calculate difference between to cumulative sums? - #2 by Nathan\_Reese](https://discuss.elastic.co/t/how-to-calculate-difference-between-to-cumulative-sums/107812/2)

---

_[View the full topic](https://discuss.elastic.co/t/comparison-between-two-data-in-kibana/218538)._
