# How to create chart for User Growth Rate in kibana

**URL:** <https://discuss.elastic.co/t/how-to-create-chart-for-user-growth-rate-in-kibana/258692>\
**Category:** Kibana\
**Created:** [December 15, 2020, 10:05am UTC](https://discuss.elastic.co/t/how-to-create-chart-for-user-growth-rate-in-kibana/258692 "2020-12-15T10:05:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [December 30, 2020, 5:05pm UTC](https://discuss.elastic.co/t/how-to-create-chart-for-user-growth-rate-in-kibana/258692/4 "2020-12-30T17:05:12Z")

</div>

> "(user at the end of time period - user at start of time period)/user at the start of period " using this formula.

If you are wanting to perform calculations like this, it sounds like a use case for bucket script aggregations. You can't currently do this using Kibana's core bar/line charts, however there is a way to do this in TSVB. This recent discussion has some links which should explain in more detail:

> [@Take/calculate value from dashboard](https://discuss.elastic.co/t/take-calculate-value-from-dashboard/259093/2):
>
> Is it possible to calculate value directly from a dashboard? The short answer is "no" -- you can't do this directly from a dashboard. However, you can achieve this using a TSVB visualization (which can then be embedded in a dashboard). What you're looking to do is called a [bucket script aggregation](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/search-aggregations-pipeline-bucket-script-aggregation.html), which is [not yet supported in our standard agg-based visualizations](https://github.com/elastic/kibana/issues/4707), but [can be done using TSVB as shown here](https://github.com/elastic/kibana/issues/4707#issuecomment-325997105). Another more detailed example can be found in this thread:

---

_[View the full topic](https://discuss.elastic.co/t/how-to-create-chart-for-user-growth-rate-in-kibana/258692)._
