Conditional formating for yesno dimensions

Hello,

I’m wondering if its possible to apply conditional format for yesno dimensions? 

Here’s my attempt to change the colors of my yes or no boolean values.

45a3f724-3b73-4449-99e2-077f31d8e265.png


However it turns out like this:
 

48fedf58-13b3-43fe-a853-889cc35dc9d8.png


What I’m attempting to do:
​​​​​

91788c17-c176-4ca8-be4c-4ebea3dbe08d.png


I tired going through enabling conditional formatting for my look and adding a rule. However, this only works on numeric fields.

Any insight on how to do this?

0 4 1,005
4 REPLIES 4

Dawid
Participant V

Try this in your Liquid IF statement:

{% if value == “Yes” %}

Try this in your Liquid IF statement:

{% if value == “Yes” %}

Hi Dawid,

Thanks for answering my question. I changed the html code to be {% if value == “Yes” %}

It’s seem like its still showing up as Red.

Dawid
Participant V
64b1b447-83ac-4a21-b98c-ff595e6bfca4.png
0b194fd1-f893-4e80-8297-1f1e0291567d.png

I just tested it, so it definitely works. Not sure what else could be a problem hmm

Hi Dawid, I fixed the problem!

It seems like I had to change the yesno dimension to be a SQL CASE statement. ?
 

f21d8b1e-5508-4e79-97fb-fe5c24c4bb03.png
Top Labels in this Space
Top Solution Authors