Color coding Stat panel

I have a measurement that is one of 2 states present and Not present I want to color code the background based on those values. Threshold seems to only work with numbers. I am sure there is a workaround but I haven’t been able to find it

thanks in advance

wow 30 topics in several days no response not a very active community it seems