# Conditional formatting abnormally behaving

**URL:** <https://discuss.google.dev/t/conditional-formatting-abnormally-behaving/297936>\
**Category:** Data Studio Q&A\
**Tags:** bug, reports-and-visualizations\
**Created:** [December 18, 2025, 4:38am UTC](https://discuss.google.dev/t/conditional-formatting-abnormally-behaving/297936 "2025-12-18T04:38:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoeJake](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/joejake/32/4528_2.png) [@JoeJake](https://discuss.google.dev/u/JoeJake)\
**Post date:** [December 18, 2025, 4:38am UTC](https://discuss.google.dev/t/conditional-formatting-abnormally-behaving/297936/1 "2025-12-18T04:38:28Z")

</div>

I wanted to provide a conditional formatting to entire row, the field i am cheking for the conditional formatting is not needed in my table, so i made it optional metric and hid from the primary table, then i gave two formatting conditions, one works and other works only if i enable the optional metric in the table. why is it so?

 ![Screenshot 2025-12-18 101104](https://d2yds90mtvelsl.cloudfront.net/original/3X/5/f/5fe7c53e6a91fadfec6a678423df89425b9a9d57.png)

 ![Screenshot 2025-12-18 101033](https://d2yds90mtvelsl.cloudfront.net/original/3X/d/0/d0609bac858d4763013812720c18c7f336c6592e.png)

2nd rule which is not working is below:

 ![Screenshot 2025-12-18 101447](https://d2yds90mtvelsl.cloudfront.net/original/3X/d/1/d125a31e17f68b204fda8b5e4de3f65ef23e9534.png)
