Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lens] previous bucket in formula #115776

Closed
Tracked by #182774 ...
ghudgins opened this issue Oct 20, 2021 · 4 comments
Closed
Tracked by #182774 ...

[Lens] previous bucket in formula #115776

ghudgins opened this issue Oct 20, 2021 · 4 comments
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

Comments

@ghudgins
Copy link

ghudgins commented Oct 20, 2021

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 percentage

@ghudgins ghudgins added enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Oct 20, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors (Team:VisEditors)

@ghudgins
Copy link
Author

Related to: #62381
This issue was descoped from: #104259

@flash1293
Copy link
Contributor

To allow the "serial diff" functionality, it should be nth previous bucket (can be done by an optional parameter defaulting to one: previous_bucket(count(), delta=5))

@stratoula stratoula added the impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. label Jan 26, 2023
@stratoula stratoula added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. and removed impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. labels Jun 1, 2023
@markov00
Copy link
Member

markov00 commented May 7, 2024

Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner.

@markov00 markov00 closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

5 participants