# Incorrect date format in Aggregation Based Table in Kibana

**URL:** https://discuss.elastic.co/t/incorrect-date-format-in-aggregation-based-table-in-kibana/320819
**Category:** Kibana
**Created:** [December 8, 2022, 5:52pm UTC](https://discuss.elastic.co/t/incorrect-date-format-in-aggregation-based-table-in-kibana/320819 "2022-12-08T17:52:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![victorhmorales](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/victorhmorales/32/111751_2.png) [@victorhmorales](https://discuss.elastic.co/u/victorhmorales)
#### Post date: [December 8, 2022, 5:52pm UTC](https://discuss.elastic.co/t/incorrect-date-format-in-aggregation-based-table-in-kibana/320819/1 "2022-12-08T17:52:14Z")

</div>

Hello,  
I just upgraded Elastic from 8.4.3 to 8.5.2 and I'm having a problem using fields of type "date" in tables created in Aggregation Based in Kibana.

The reason for using table in Aggregation Based is the 'Export' option it allows. I need date type fields to be Buckets in this table.

In the attached examples, I am using the "surgc\_date" field (a field of type date). I changed the format "surgc\_date" to "DD-MM-YYYY HH:mm" in its Data View (surgc-\*). This custom format is shown in tables created in Lens, TSVB and even Aggregation Based when "surgc\_date" is used as a Metric, but not when used as a Bucket.

It used to work on version 8.4 but now not on 8.5.  
Can someone please help me?

Thank you in advance 🙂

 ![Screenshot from 2022-12-07 19-05-13](https://us1.discourse-cdn.com/elastic/original/3X/e/8/e82486ef7d28155c7945f4cd95942dedc0784a3f.png)  
 ![Screenshot from 2022-12-07 19-02-20 (1)](https://us1.discourse-cdn.com/elastic/original/3X/8/0/8057eeb9fc18593645dd3e82b63119d43a99d789.png)

---

<div class="post-metadata">

### Author: ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)
#### Post date: [December 12, 2022, 11:17am UTC](https://discuss.elastic.co/t/incorrect-date-format-in-aggregation-based-table-in-kibana/320819/2 "2022-12-12T11:17:46Z")

</div>

Hey, there was a bug on v8.5 with the field formatters. It will be solved in 8.6 that is going to be released soonish 🙂 Sorry for any inconvenience.

---

<div class="post-metadata">

### Author: ![victorhmorales](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/victorhmorales/32/111751_2.png) [@victorhmorales](https://discuss.elastic.co/u/victorhmorales)
#### Post date: [December 13, 2022, 10:42pm UTC](https://discuss.elastic.co/t/incorrect-date-format-in-aggregation-based-table-in-kibana/320819/3 "2022-12-13T22:42:51Z")

</div>

Hello [Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)

Thank you very much for your attention!

I have another important issue here: [Scrollbar disappeared in Vega](https://discuss.elastic.co/t/scrollbar-disappeared-in-vega/320428)  
Could you kindly have a look?

Thank you in advance 😉

---

<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: [January 10, 2023, 10:43pm UTC](https://discuss.elastic.co/t/incorrect-date-format-in-aggregation-based-table-in-kibana/320819/4 "2023-01-10T22:43:01Z")

</div>

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