Hi,

Try the same code by putting YES between simple quotes like this:
...='Yes' ...