# Set static variable in essql

**URL:** <https://discuss.elastic.co/t/set-static-variable-in-essql/184607>\
**Category:** Kibana\
**Created:** [June 6, 2019, 2:34pm UTC](https://discuss.elastic.co/t/set-static-variable-in-essql/184607 "2019-06-06T14:34:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)\
**Post date:** [July 5, 2019, 6:44pm UTC](https://discuss.elastic.co/t/set-static-variable-in-essql/184607/4 "2019-07-05T18:44:22Z")

</div>

I don't think there's a way to accomplish what you are looking for with double bars showing different values, but you _might_ be able to do stacked bars depending on the shape of your data. See this thread for more details: [Canvas: how to make stacked area chart?](https://discuss.elastic.co/t/canvas-how-to-make-stacked-area-chart/180399)

---

_[View the full topic](https://discuss.elastic.co/t/set-static-variable-in-essql/184607)._
