# I want to calculate percentage increase of user count between two categories

**URL:** <https://discuss.elastic.co/t/i-want-to-calculate-percentage-increase-of-user-count-between-two-categories/166256>\
**Category:** Kibana\
**Created:** [January 30, 2019, 5:15am UTC](https://discuss.elastic.co/t/i-want-to-calculate-percentage-increase-of-user-count-between-two-categories/166256 "2019-01-30T05:15:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GitSpree23](https://avatars.discourse-cdn.com/v4/letter/g/65b543/32.png) [@GitSpree23](https://discuss.elastic.co/u/GitSpree23)\
**Post date:** [January 30, 2019, 5:15am UTC](https://discuss.elastic.co/t/i-want-to-calculate-percentage-increase-of-user-count-between-two-categories/166256/1 "2019-01-30T05:15:45Z")

</div>

I have a date histogram showing two trends in user count of two categories. But I also want to show a metric of % increase in the count in the given time period.

Could you help me figure out how to do this? There is a percentile metric ... but that's not relevant to my problem...

---

<div class="post-metadata">

**Author:** ![le\_walt](https://avatars.discourse-cdn.com/v4/letter/l/ba9def/32.png) [@le\_walt](https://discuss.elastic.co/u/le_walt)\
**Post date:** [January 30, 2019, 2:19pm UTC](https://discuss.elastic.co/t/i-want-to-calculate-percentage-increase-of-user-count-between-two-categories/166256/2 "2019-01-30T14:19:08Z")

</div>

for that matter, any growth % would be great to do...

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [January 30, 2019, 2:25pm UTC](https://discuss.elastic.co/t/i-want-to-calculate-percentage-increase-of-user-count-between-two-categories/166256/3 "2019-01-30T14:25:57Z")

</div>

hi @GitSpree23,

You could use Timelion for this

This answer might be helpful: [Graph with percent change between bucket](https://discuss.elastic.co/t/graph-with-percent-change-between-bucket/91204)

---

<div class="post-metadata">

**Author:** ![GitSpree23](https://avatars.discourse-cdn.com/v4/letter/g/65b543/32.png) [@GitSpree23](https://discuss.elastic.co/u/GitSpree23)\
**Post date:** [February 5, 2019, 5:29am UTC](https://discuss.elastic.co/t/i-want-to-calculate-percentage-increase-of-user-count-between-two-categories/166256/4 "2019-02-05T05:29:11Z")

</div>

Yes, but how to pick the metrics as the selected categories?

---

<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:** [March 5, 2019, 5:29am UTC](https://discuss.elastic.co/t/i-want-to-calculate-percentage-increase-of-user-count-between-two-categories/166256/5 "2019-03-05T05:29:15Z")

</div>

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