[Dashboard] Time shift error on dashboards #162326
Labels
bug
Fixes for quality problems that affect the customer experience
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:needs-research
This issue requires some research before it can be worked on or estimated
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Reported at this discuss thread.
Kibana version:
Reproduced in
main
,8.8.1
, and8.9.0-SNAPSHOT
Elasticsearch version:
Same
Server OS version:
Elastic Cloud for 8.8.1 and Ubuntu 22.04 for
main
and8.9.0-SNAPSHOT
Browser version:
Firefox 115.0.2 (64-bit)
Browser OS version:
Ubuntu 22.04
Original install method (e.g. download page, yum, from source, etc.):
Elastic Cloud for 8.8.1, from sources for
main
, and Docker for8.9.0-SNAPSHOT
Describe the bug:
Kibana global time range is not correctly applied to visualizations that include a time shift parameter.
Steps to reproduce:
Create the following index that adds two data points per year from 2019 to 2023, increasing 10 units per year.
Data to reproduce
Import the following Dashboard and Data view: export.zip
Additionally you can also configure these customer ranges for the date picker:
Custom time ranges
It has three panels that present the elements of a fourth panel with a ratio.
The main panel on the right has all the elements of this "formula" as follows:
So when filtering 2023 (average 50), the ratio is a growth of 400%, when filtering 2022, it should be 300%, and so on.
This works well inside the Lens editor, but on the Dashboard is not working correctly.
Expected behavior:
Correct results in Dashboard.
Screenshots (if relevant):
vokoscreenNG-2023-07-20_14-55-09.webm
The user contributed a video here
These are screenshots of the time range fetched from the browser for a request for 2021:
Errors in browser console (if relevant):
Nothing I could see.
The text was updated successfully, but these errors were encountered: