Solved

Case When for YesNo in Custom Dimension

  • 16 May 2022
  • 1 reply
  • 176 views

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:

What is wrong here ?

icon

Best answer by integra 16 May 2022, 12:08

View original

This topic has been closed for comments

1 reply

Solved.

No quotes is needed for YesNo.

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