[Lens] Implement a last value - first value shortcut function #101500
Labels
enhancement
New value added to drive a business result
Feature:ES|QL
ES|QL related features in Kibana
Feature:Lens
🧊 iceboxed
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
We decided not to implement a
first_value
function in Lens because we could only identify one use case, which islast value - first value
. We don't have a good name for this type of function, but it's used primarily when looking timestamped summaries of data. For example in https://discuss.elastic.co/t/display-aggregated-counter-value-per-interval/272333/7 the user is looking at a counter-type number (issues) where it's important to ignore duplicates. Using last/first value guarantees that issues are counted once.The implementation of this shortcut function requires us to implement a "first value" concept, but this should not be exposed in the quick functions- it only makes sense within the context of this shortcut function or as a formula.
Use Cases
The text was updated successfully, but these errors were encountered: