# Sum bucket aggregation loses formatting

**URL:** https://discuss.elastic.co/t/sum-bucket-aggregation-loses-formatting/99148
**Category:** Kibana
**Created:** [September 1, 2017, 3:20pm UTC](https://discuss.elastic.co/t/sum-bucket-aggregation-loses-formatting/99148 "2017-09-01T15:20:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ryan\_Groten](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@Ryan\_Groten](https://discuss.elastic.co/u/Ryan_Groten)
#### Post date: [September 1, 2017, 3:20pm UTC](https://discuss.elastic.co/t/sum-bucket-aggregation-loses-formatting/99148/1 "2017-09-01T15:20:04Z")

</div>

I have number fields formatted to bytes, when I visualize them with Sum/Max/etc the graph formats properly with Bytes, however when I use the Sum Bucket aggregation, the formatting is lost. Is there a way to maintain the Bytes format when using Sum Bucket? I'm using Kibana 5.5.1

Thanks,  
Ryan

---

<div class="post-metadata">

### Author: ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)
#### Post date: [September 1, 2017, 6:54pm UTC](https://discuss.elastic.co/t/sum-bucket-aggregation-loses-formatting/99148/2 "2017-09-01T18:54:18Z")

</div>

This is something that has already been fixed in 5.5.2.

---

<div class="post-metadata">

### Author: ![Ryan\_Groten](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@Ryan\_Groten](https://discuss.elastic.co/u/Ryan_Groten)
#### Post date: [September 1, 2017, 7:02pm UTC](https://discuss.elastic.co/t/sum-bucket-aggregation-loses-formatting/99148/3 "2017-09-01T19:02:56Z")

</div>

Oh great thanks! I'll upgrade now.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 29, 2017, 7:02pm UTC](https://discuss.elastic.co/t/sum-bucket-aggregation-loses-formatting/99148/4 "2017-09-29T19:02:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
