# Color coding on different value

**URL:** <https://discuss.elastic.co/t/color-coding-on-different-value/342226>\
**Category:** Kibana\
**Tags:** lens\
**Created:** [September 4, 2023, 7:34am UTC](https://discuss.elastic.co/t/color-coding-on-different-value/342226 "2023-09-04T07:34:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rushi\_Bagul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rushi_bagul/32/122786_2.png) [@Rushi\_Bagul](https://discuss.elastic.co/u/Rushi_Bagul)\
**Post date:** [September 4, 2023, 7:34am UTC](https://discuss.elastic.co/t/color-coding-on-different-value/342226/1 "2023-09-04T07:34:30Z")

</div>

In my document I have 3 fields, first is timestamp, second is absolute\_value and third is percentage\_value. I want show this data in Table type visualization . So in rows I am show timestamp and in metrics i want display absolute\_value but will apply color which is based on percentage\_value.  
So anyone suggest any approach for that..

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [September 4, 2023, 8:08am UTC](https://discuss.elastic.co/t/color-coding-on-different-value/342226/2 "2023-09-04T08:08:30Z")

</div>

Hi @Rushi_Bagul

if you mean to color based on aggregated value, then it is possible to do that in Lens:

 ![Screenshot 2023-09-04 at 10.07.30](https://us1.discourse-cdn.com/elastic/original/3X/e/5/e5385b25edf48c387b25fec73d2df63dc6bc788f.jpeg)

If you're looking for a search result table instead, like Discover table, than that's not possible.

---

<div class="post-metadata">

**Author:** ![Rushi\_Bagul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rushi_bagul/32/122786_2.png) [@Rushi\_Bagul](https://discuss.elastic.co/u/Rushi_Bagul)\
**Post date:** [September 4, 2023, 8:44am UTC](https://discuss.elastic.co/t/color-coding-on-different-value/342226/3 "2023-09-04T08:44:46Z")

</div>

Yes but I want show absolute\_value and that colour will be applying on aggregated value or percentage\_value. aggregated value or percentage\_value don't want show in table. Is this possible in lens?

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [September 4, 2023, 9:31am UTC](https://discuss.elastic.co/t/color-coding-on-different-value/342226/4 "2023-09-04T09:31:58Z")

</div>

No, that's not currently possible to show a column and color it by another column value.

---

<div class="post-metadata">

**Author:** ![Rushi\_Bagul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rushi_bagul/32/122786_2.png) [@Rushi\_Bagul](https://discuss.elastic.co/u/Rushi_Bagul)\
**Post date:** [September 5, 2023, 7:23am UTC](https://discuss.elastic.co/t/color-coding-on-different-value/342226/5 "2023-09-05T07:23:31Z")

</div>

Okk thank you

---

<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:** [October 3, 2023, 7:24am UTC](https://discuss.elastic.co/t/color-coding-on-different-value/342226/6 "2023-10-03T07:24:17Z")

</div>

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