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] Shortcut to formula percentage change as an option in differences #62381

Closed
Tracked by #182774
wylieconlon opened this issue Apr 2, 2020 · 3 comments
Closed
Tracked by #182774
Labels
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 usability

Comments

@wylieconlon
Copy link
Contributor

wylieconlon commented Apr 2, 2020

This functionality is possible using lens formula, however this issue can increase discoverability.

This calculation is defined as the percentage change of the current value compared to the previous value. It can be positive, negative, or undefined. The rate of change is defined as (current value - previous value) / previous value.

User input

This function doesn't have any required user input.

Form design

No design yet.

Table example with gap skipping (default)

timestamp per 3 hours Count Percentage change
2020-08-21 15:00 10 -
2020-08-21 21:00 - -
2020-08-21 18:00 19 -
2020-08-22 00:00 22 15.79%
2020-08-22 03:00 13 -59.0%
@wylieconlon wylieconlon added Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Team:AppArch labels Apr 2, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@wylieconlon wylieconlon added Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Team:AppArch labels Sep 16, 2020
@wylieconlon wylieconlon changed the title Percentage change from previous [Lens] Percentage growth in time series Sep 16, 2020
@wylieconlon wylieconlon changed the title [Lens] Percentage growth in time series [Lens] Percentage change in time series Sep 16, 2020
@flash1293
Copy link
Contributor

It's possible to do this via formula as well (it will be documented how this works), this issue is tracking the addition of an option for the differences function so it's not necessary to use formula for this common case.

@ghudgins ghudgins changed the title [Lens] Percentage change in time series [Lens] Percentage change as an option in differences Jul 7, 2021
@ghudgins ghudgins changed the title [Lens] Percentage change as an option in differences [Lens] Shortcut to formula percentage change as an option in differences Aug 2, 2022
@stratoula stratoula added impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. 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 Jan 24, 2024
@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
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 usability
Projects
None yet
Development

No branches or pull requests

6 participants