# 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:** 2

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [April 29, 2019, 11:15am UTC](https://discuss.elastic.co/t/pie-chart-with-unique-count-and-bucket-aggregation-with-top-hit/178438/2 "2019-04-29T11:15:10Z")

</div>

Hello @MarcFajula  
Thanks for the request.  
Unfortunately is not possible to save an aggregation like that in a saved search. You can modify only the query on saved search editing the QueryDSL of a filter.

I'm currently investigating if it's possible to create a top hit aggregation on a piechart. I will keep you posted on that

---

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