# Unable to aggregate properly country dimension

**URL:** <https://discuss.elastic.co/t/unable-to-aggregate-properly-country-dimension/173986>\
**Category:** Elasticsearch\
**Created:** [March 26, 2019, 5:54pm UTC](https://discuss.elastic.co/t/unable-to-aggregate-properly-country-dimension/173986 "2019-03-26T17:54:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elson\_Simoes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elson_simoes/32/42817_2.png) [@Elson\_Simoes](https://discuss.elastic.co/u/Elson_Simoes)\
**Post date:** [March 26, 2019, 5:54pm UTC](https://discuss.elastic.co/t/unable-to-aggregate-properly-country-dimension/173986/1 "2019-03-26T17:54:17Z")

</div>

Hello ES gurus,

I am just starting to trying to figure it out but I am unable to do a proper aggregation of the dimension I want. I just return me the values splitted as per the image in attach,

If anyone could help me I would be very grateful !

Many thanks,  
Elson

 ![ES](https://us1.discourse-cdn.com/elastic/original/3X/7/c/7c59af64420fcb6bb16f9ea3ee013bdd7e662673.png)

---

<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:** [April 23, 2019, 5:54pm UTC](https://discuss.elastic.co/t/unable-to-aggregate-properly-country-dimension/173986/2 "2019-04-23T17:54:19Z")

</div>

Closed on April 23, 2019, 5:54pm UTC

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