Case When for YesNo in Custom Dimension

Hi,

I need to use YesNo Dimension in Case When statement and check if it’s not equals to “Yes”, then put some value.
It looks like this:

when(${my_table.my_yesno_column} != "Yes", "Some Value"

But recieving error:

6e8b5703-a717-4580-9e79-86c73ada68a4.png

What is wrong here ?

Solved Solved
0 1 1,384
1 ACCEPTED SOLUTION

Solved.

No quotes is needed for YesNo.

when(${my_table.my_yesno_column} != yes, "Some Value"

View solution in original post

1 REPLY 1

Solved.

No quotes is needed for YesNo.

when(${my_table.my_yesno_column} != yes, "Some Value"

Top Labels in this Space
Top Solution Authors