Enhancement request: add gap_policy to visual builder #21065
Labels
enhancement
New value added to drive a business result
Feature:Lens
impact:needs-assessment
Product and/or Engineering needs to evaluate the impact of the change.
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Currently, the Visual Builder does not support setting the gap_policy in case of a serial difference computation. The only setting supported is 'lag'. If a gap_policy can be set one would be able to replace the null values with zeros, thereby allowing to calculate the serial difference with, for instance, a previous month.
For a use case, please refer to the bug report: https://discuss.elastic.co/t/serial-diff-missing-data/122075/3. Addition of a gap_policy would allow to compare the turnover of a new client, since such a client has no turnover in a previous month. As a result, the client would be highlighted in case of a serial difference computation of the turnover. The same holds for a client that is no longer buying
The text was updated successfully, but these errors were encountered: