[Lens] previous bucket in formula #115776
Labels
enhancement
New value added to drive a business result
Feature:Lens
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Describe the feature:
Expose functions that allow formula to construct with previous bucket of a date histogram to build more advanced calculations than the differences quick function. Would also need to consider gap fill policy #115761
Describe a specific use case for the feature:
When I want to write a moving percentage difference in formula
And I am visualizing with a date histogram
I need to pull a value from the previous bucket on the visualization
So I can do things like
count() / previous_bucket(count()) -1
to get at moving percentageThe text was updated successfully, but these errors were encountered: