# How to get 90th percentile

**URL:** <https://discuss.elastic.co/t/how-to-get-90th-percentile/14132>\
**Category:** Elasticsearch\
**Created:** [October 28, 2013, 2:27am UTC](https://discuss.elastic.co/t/how-to-get-90th-percentile/14132 "2013-10-28T02:27:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![supersearch](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@supersearch](https://discuss.elastic.co/u/supersearch)\
**Post date:** [October 28, 2013, 2:27am UTC](https://discuss.elastic.co/t/how-to-get-90th-percentile/14132/1 "2013-10-28T02:27:35Z")

</div>

Hi,

I am trying to get the 90th percentile on temprature indexed data..  
I am indexing City and Temprature..

Want to know how many count of cities are with in that 90th percentile temprature.

Stastical facet is not helping me in anyway is there a approch for this. Please help.

---

<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:** [July 6, 2017, 2:10am UTC](https://discuss.elastic.co/t/how-to-get-90th-percentile/14132/2 "2017-07-06T02:10:22Z")

</div>

Closed on July 6, 2017, 2:10am UTC


