# TSVB table - Filter ratio - color rules

**URL:** <https://discuss.elastic.co/t/tsvb-table-filter-ratio-color-rules/274943>\
**Category:** Kibana\
**Created:** [June 4, 2021, 5:46am UTC](https://discuss.elastic.co/t/tsvb-table-filter-ratio-color-rules/274943 "2021-06-04T05:46:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fidsamurai](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@fidsamurai](https://discuss.elastic.co/u/fidsamurai)\
**Post date:** [June 4, 2021, 5:46am UTC](https://discuss.elastic.co/t/tsvb-table-filter-ratio-color-rules/274943/1 "2021-06-04T05:46:18Z")

</div>

Hi Everyone,

Not sure if this is a bug or a limitation, I'm trying to set colour rules on a TSVB Table where the columns use Filter Ratio.

I've used a custom format of 0.00%.

 ![TSVB-Table-FilterRatio-ColourRule-error](https://us1.discourse-cdn.com/elastic/original/3X/c/c/ccf1880982a1260326fdaf762cf0b5599ea97fd2.jpeg)  
 ![TSVB-Table-FilterRatio-ColourRule-error-exampleColumn](https://us1.discourse-cdn.com/elastic/original/3X/b/4/b4bfa7139eb910f245c455d22c0c2448129761a4.jpeg)

As can be seen, it's just using the colour red indiscriminately, irrespective of thresholds.  
Please let me know what I've done wrong or whether this is a bug.

PS. Kibana 7.8

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [June 4, 2021, 7:55am UTC](https://discuss.elastic.co/t/tsvb-table-filter-ratio-color-rules/274943/2 "2021-06-04T07:55:12Z")

</div>

Ratios have values between 0 and 1 - could you try rewriting your rule to less than `0.9`, less than `0.8` and less than `0.7`?

---

<div class="post-metadata">

**Author:** ![fidsamurai](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@fidsamurai](https://discuss.elastic.co/u/fidsamurai)\
**Post date:** [June 5, 2021, 4:54am UTC](https://discuss.elastic.co/t/tsvb-table-filter-ratio-color-rules/274943/3 "2021-06-05T04:54:41Z")

</div>

Thanks a lot @flash1293 !!!

BTW is this in the documentation?  
I couldn't seem to find it anywhere.

---

<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:** [July 3, 2021, 4:54am UTC](https://discuss.elastic.co/t/tsvb-table-filter-ratio-color-rules/274943/4 "2021-07-03T04:54:59Z")

</div>

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