# Timelion calculation

**URL:** https://discuss.elastic.co/t/timelion-calculation/180678
**Category:** Kibana
**Tags:** timelion
**Created:** [May 11, 2019, 11:38pm UTC](https://discuss.elastic.co/t/timelion-calculation/180678 "2019-05-11T23:38:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![punppis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/punppis/32/46041_2.png) [@punppis](https://discuss.elastic.co/u/punppis)
#### Post date: [May 11, 2019, 11:38pm UTC](https://discuss.elastic.co/t/timelion-calculation/180678/1 "2019-05-11T23:38:58Z")

</div>

{ created: ..., retention: ["day1", "day3"] }

how to calculate retention percentage for each keyword in retention?

day1 retention = users with "day1" / total user count for that day ('created')

---

<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: [May 13, 2019, 7:11pm UTC](https://discuss.elastic.co/t/timelion-calculation/180678/2 "2019-05-13T19:11:37Z")

</div>

hi @punppis,

a little more information is probably needed for this.

but you might want to start with the timelion tutorial first, and see if there's any information there that can help there: [https://www.elastic.co/guide/en/kibana/current/timelion.html](https://www.elastic.co/guide/en/kibana/current/timelion.html)

---

<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: [June 10, 2019, 7:11pm UTC](https://discuss.elastic.co/t/timelion-calculation/180678/3 "2019-06-10T19:11:46Z")

</div>

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