# Dashboard ES|QL Visualization configuration resets with every query change

**URL:** <https://discuss.elastic.co/t/dashboard-es-ql-visualization-configuration-resets-with-every-query-change/379813>\
**Category:** Kibana\
**Tags:** esql\
**Created:** [July 4, 2025, 1:27pm UTC](https://discuss.elastic.co/t/dashboard-es-ql-visualization-configuration-resets-with-every-query-change/379813 "2025-07-04T13:27:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![allatrue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/allatrue/32/130067_2.png) [@allatrue](https://discuss.elastic.co/u/allatrue)\
**Post date:** [July 4, 2025, 1:27pm UTC](https://discuss.elastic.co/t/dashboard-es-ql-visualization-configuration-resets-with-every-query-change/379813/1 "2025-07-04T13:27:18Z")

</div>

Hello everyone,

I'm wondering if this is a normal behavior. When I make any change at ES|QL visualization query in a dashboard and click "Run query", the editor resets the visualization configuration, so that I have to assign columns, colors, names, formats, etc. again. Without "Run query" the changes will not be saved, so there is no way to avoid this reconfiguration.

I run Kibana 9.0.1, but I had the same problem with 8.17.x too.  
Now I have a specific use case where I need 2-level aggregation over date histogram. It can be implemented quite easy with ES|EL, but not possible with Lens.

Any ideas, how to prevent Kibana Dashboard ES|QL editor from resetting the configuration?

Thanks!

Regards,  
Alexander

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [July 4, 2025, 1:40pm UTC](https://discuss.elastic.co/t/dashboard-es-ql-visualization-configuration-resets-with-every-query-change/379813/2 "2025-07-04T13:40:45Z")

</div>

Hi @allatrue

this has been recently fixed with [[ES|QL][Lens] Keeps the chart configuration when possible by stratoula · Pull Request #210780 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/210780)

---

<div class="post-metadata">

**Author:** ![allatrue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/allatrue/32/130067_2.png) [@allatrue](https://discuss.elastic.co/u/allatrue)\
**Post date:** [July 5, 2025, 6:19pm UTC](https://discuss.elastic.co/t/dashboard-es-ql-visualization-configuration-resets-with-every-query-change/379813/3 "2025-07-05T18:19:11Z")

</div>

Hi @Marco_Liberati ,

thanks for quick response.  
So, it looks like I have to wait until Kibana 9.1 is released.

Regards,  
Alexander
