[Lens] Formula: provide fitting function for missing/null values #115761
Labels
enhancement
New value added to drive a business result
Feature:Lens
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Describe the feature:
A way to provide a fitting value for formulas would be useful to cover those cases where the ES
gap_policy
is used.While in Visualize the
Advanced JSON
input provides a way to pass the{ "gap_policy": "your-value" }
json, there's currently no way to do that in formulas.Imagine the following formula:
Now the
overall_average
function will skip all the empty buckets and compute the average only for those buckets who have a value.The fitting value feature should resolve that by enabling the user to pass the type of fitting to use for the average computation.
The text was updated successfully, but these errors were encountered: