# Top Hit Aggregation in Data Table showing Undefined for all bools

**URL:** https://discuss.elastic.co/t/top-hit-aggregation-in-data-table-showing-undefined-for-all-bools/212866
**Category:** Kibana
**Created:** [December 23, 2019, 4:07pm UTC](https://discuss.elastic.co/t/top-hit-aggregation-in-data-table-showing-undefined-for-all-bools/212866 "2019-12-23T16:07:17Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Zebra](https://avatars.discourse-cdn.com/v4/letter/z/c0e974/32.png) [@Zebra](https://discuss.elastic.co/u/Zebra)
#### Post date: [December 24, 2019, 2:31am UTC](https://discuss.elastic.co/t/top-hit-aggregation-in-data-table-showing-undefined-for-all-bools/212866/3 "2019-12-24T02:31:21Z")

</div>

I'm new to Kibana so I'm not entirely sure, but according to this post ([Display latest value in a „Metric“](https://discuss.elastic.co/t/display-latest-value-in-a-metric/114930)), that aggregation should return the most recent value of a field. If this doesn't work with boolean then do you know another way to get that data?

---

_[View the full topic](https://discuss.elastic.co/t/top-hit-aggregation-in-data-table-showing-undefined-for-all-bools/212866)._
