# Pie Chart with UNIQUE COUNT and Bucket AGGREGATION with TOP HIT

**URL:** <https://discuss.elastic.co/t/pie-chart-with-unique-count-and-bucket-aggregation-with-top-hit/178438>\
**Category:** Kibana\
**Created:** [April 25, 2019, 11:18am UTC](https://discuss.elastic.co/t/pie-chart-with-unique-count-and-bucket-aggregation-with-top-hit/178438 "2019-04-25T11:18:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![drunningen](https://avatars.discourse-cdn.com/v4/letter/d/d78d45/32.png) [@drunningen](https://discuss.elastic.co/u/drunningen)\
**Post date:** [May 16, 2019, 2:18pm UTC](https://discuss.elastic.co/t/pie-chart-with-unique-count-and-bucket-aggregation-with-top-hit/178438/3 "2019-05-16T14:18:58Z")

</div>

Hey @markov00,

It looks like the option exists in the drop-down for "Top Hit" but no matter what field is selected, no options appear for the "Aggregate with" field. I'm having problems with this as well trying to show last statuses for test cases. (Posted here: [Visualization for Automation Test Reporting](https://discuss.elastic.co/t/visualization-for-automation-test-reporting/181074))

---

_[View the full topic](https://discuss.elastic.co/t/pie-chart-with-unique-count-and-bucket-aggregation-with-top-hit/178438)._
