# Will there be support for displaying a single value for unique field counts from Elastic data sources in future?

**URL:** <https://community.grafana.com/t/will-there-be-support-for-displaying-a-single-value-for-unique-field-counts-from-elastic-data-sources-in-future/162312>\
**Category:** Grafana\
**Tags:** elasticsearch\
**Created:** [March 30, 2026, 1:30am UTC](https://community.grafana.com/t/will-there-be-support-for-displaying-a-single-value-for-unique-field-counts-from-elastic-data-sources-in-future/162312 "2026-03-30T01:30:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wetajoe](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/wetajoe/32/57377_2.png) [@wetajoe](https://community.grafana.com/u/wetajoe)\
**Post date:** [March 30, 2026, 1:30am UTC](https://community.grafana.com/t/will-there-be-support-for-displaying-a-single-value-for-unique-field-counts-from-elastic-data-sources-in-future/162312/1 "2026-03-30T01:30:35Z")

</div>

Using an Elastic data source with a field like “identity.username”, Grafana currently does not support displaying a single number in a Stat panel like “Number of Unique Users”. You can get a number of unique users per bucket, but you cannot get a single unique count across all hits in a time range.

There is documentation around this, but that documentation relies on the broken assumption that you can remove the “Group By”, which of course you cannot.

Is there support for counts like this coming in future?

---

<div class="post-metadata">

**Author:** ![infofcc3](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/infofcc3/32/51248_2.png) [@infofcc3](https://community.grafana.com/u/infofcc3)\
**Post date:** [March 30, 2026, 5:19am UTC](https://community.grafana.com/t/will-there-be-support-for-displaying-a-single-value-for-unique-field-counts-from-elastic-data-sources-in-future/162312/2 "2026-03-30T05:19:37Z")

</div>

> **[Reduce - Transform data | Grafana documentation](https://grafana.com/docs/grafana/latest/visualizations/panels-visualizations/query-transform-data/transform-data/#reduce)**
>
> Transformations are a powerful way to manipulate data returned by a query before the system applies a visualization. Using transformations, you can: | Use transformations to rename fields, join time series/SQL-like data, apply mathematical...

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [March 30, 2026, 3:34pm UTC](https://community.grafana.com/t/will-there-be-support-for-displaying-a-single-value-for-unique-field-counts-from-elastic-data-sources-in-future/162312/3 "2026-03-30T15:34:05Z")

</div>

2 possible ways I could see around this is using infinity to query your es

Or

Use sql expression to the count you want
