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

Open
wylieconlon opened this issue Apr 2, 2020 · 2 comments
Open
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

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)

@kibanamachine kibanamachine added this to To triage in kibana-app-arch Apr 2, 2020
@lukeelmers lukeelmers moved this from To triage to Long Horizon in kibana-app-arch May 5, 2020
@wylieconlon wylieconlon added this to Long-term goals in Lens via automation Sep 16, 2020
@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
@kibanamachine kibanamachine removed this from Long Horizon in kibana-app-arch 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
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
No open projects
Lens
  
Long-term goals
Development

No branches or pull requests

5 participants