# Choose another indicator

**URL:** <https://discuss.elastic.co/t/choose-another-indicator/354252>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [February 27, 2024, 3:48pm UTC](https://discuss.elastic.co/t/choose-another-indicator/354252 "2024-02-27T15:48:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FaycalH](https://avatars.discourse-cdn.com/v4/letter/f/258eb7/32.png) [@FaycalH](https://discuss.elastic.co/u/FaycalH)\
**Post date:** [February 27, 2024, 3:48pm UTC](https://discuss.elastic.co/t/choose-another-indicator/354252/1 "2024-02-27T15:48:40Z")

</div>

I wanted to know if there is a way to choose a second bucket when there is no data in the first one, like an 'if the first bucket doesn't have data, then look in the second bucket and combine them to obtain a final set of data for a vizualisation.' I hope this clarifies my issue.

---

<div class="post-metadata">

**Author:** ![Kathleen\_DeRusso](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kathleen_derusso/32/132039_2.png) [@Kathleen\_DeRusso](https://discuss.elastic.co/u/Kathleen_DeRusso)\
**Post date:** [February 28, 2024, 11:23am UTC](https://discuss.elastic.co/t/choose-another-indicator/354252/2 "2024-02-28T11:23:58Z")

</div>

I don’t think there is out of the box but you could run both aggregations and then choose which results to display on the front end.

---

<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:** [March 27, 2024, 11:24am UTC](https://discuss.elastic.co/t/choose-another-indicator/354252/3 "2024-03-27T11:24:12Z")

</div>

Closed on March 27, 2024, 11:24am UTC

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