# \[BUG?\] Escaping periods in vega-lite calculate transform

**URL:** <https://discuss.elastic.co/t/bug-escaping-periods-in-vega-lite-calculate-transform/139424>\
**Category:** Kibana\
**Created:** [July 10, 2018, 7:42pm UTC](https://discuss.elastic.co/t/bug-escaping-periods-in-vega-lite-calculate-transform/139424 "2018-07-10T19:42:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tadgh](https://avatars.discourse-cdn.com/v4/letter/t/9f8e36/32.png) [@tadgh](https://discuss.elastic.co/u/tadgh)\
**Post date:** [July 10, 2018, 9:03pm UTC](https://discuss.elastic.co/t/bug-escaping-periods-in-vega-lite-calculate-transform/139424/3 "2018-07-10T21:03:07Z")

</div>

To quick-fix the issue, I tried just adding a bucket script aggregation, which turns out, suffers the same issue I am seeing here I think.

I actually think the issue may be higher up, in Elasticsearch: [Bucket Script Aggregating on fields that contain a period](https://discuss.elastic.co/t/bucket-script-aggregating-on-fields-that-contain-a-period/139428) . To narrow this down, I made a small example query. This may not be VEGA-related after all, but just ES related.

---

_[View the full topic](https://discuss.elastic.co/t/bug-escaping-periods-in-vega-lite-calculate-transform/139424)._
