# Kibana gauge or goal with range from data in indice

**URL:** https://discuss.elastic.co/t/kibana-gauge-or-goal-with-range-from-data-in-indice/297672
**Category:** Kibana
**Created:** [February 19, 2022, 9:05pm UTC](https://discuss.elastic.co/t/kibana-gauge-or-goal-with-range-from-data-in-indice/297672 "2022-02-19T21:05:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![warut](https://avatars.discourse-cdn.com/v4/letter/w/c2a13f/32.png) [@warut](https://discuss.elastic.co/u/warut)
#### Post date: [February 19, 2022, 9:05pm UTC](https://discuss.elastic.co/t/kibana-gauge-or-goal-with-range-from-data-in-indice/297672/1 "2022-02-19T21:05:46Z")

</div>

Hello,

I use goal to show employee work today compare with total number of employee. It work well if I specify range with static value such as today 24 worker come from total 30 worker but total worker is dynamic so I try to add total worker field in indice but dont know how to use it to be a range.

Can guage or goal can change range up to data from indice.

![guage](https://us1.discourse-cdn.com/elastic/original/3X/1/1/11846fc453fffc45a0f992852e2fe32a08618aab.png)

Thank you

---

<div class="post-metadata">

### Author: ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)
#### Post date: [February 22, 2022, 10:18am UTC](https://discuss.elastic.co/t/kibana-gauge-or-goal-with-range-from-data-in-indice/297672/2 "2022-02-22T10:18:40Z")

</div>

Hello, this would be possible with Lens in version 8.1, but unfortunately is not in the released versions.

 ![Screenshot 2022-02-22 at 11.16.06](https://us1.discourse-cdn.com/elastic/original/3X/0/b/0b39a80e42ed9042744f614d4a16532a5c109ff9.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: [March 22, 2022, 10:18am UTC](https://discuss.elastic.co/t/kibana-gauge-or-goal-with-range-from-data-in-indice/297672/3 "2022-03-22T10:18:53Z")

</div>

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