Growth over time using "metric" and "table" visualizations

Hello!

Is there any way to calculate the growth over time in the "metric" and "table" visualizations? I only have two fields in my index: timestamp and sales, and I would like to get something like this:

table_growth

metric_growth

I know that I can do it with the Timelion visualization (using the "offset" parameter), but I need to use tables and metrics.

Thank you very much!

This kind of request is fairly common, but we don't have a great solution for you. It's a high priority for us to support this kind of calculation in Lens, so I have been planning out this work.

There is a workaround which you can do in the TSVB editor: if you set your time range to 2 years, and your time interval to 1 year, you can use the "serial difference" function to get the "previous" value. Screenshot here with example: https://github.com/elastic/kibana/issues/35043

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