# Unable to plot % of count

**URL:** <https://community.grafana.com/t/unable-to-plot-of-count/5036>\
**Category:** Elasticsearch\
**Created:** [January 25, 2018, 9:53pm UTC](https://community.grafana.com/t/unable-to-plot-of-count/5036 "2018-01-25T21:53:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![anon34853223](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@anon34853223](https://community.grafana.com/u/anon34853223)\
**Post date:** [January 26, 2018, 8:39am UTC](https://community.grafana.com/t/unable-to-plot-of-count/5036/2 "2018-01-26T08:39:54Z")

</div>

Hi,

_AsPercent_ is a Graphite function. You cannot use that with Elasticsearch data source.

Please refer to [How to generate a porcetage of 2 query](https://community.grafana.com/t/how-to-generate-a-porcetage-of-2-query/4910/4?u=mefraimsson)

Marcus

---

_[View the full topic](https://community.grafana.com/t/unable-to-plot-of-count/5036)._
