Easy Chart Database Pens where clause error

Hi,
I am trying create Easy Chart with Database pens when I used Where Clause script somehow I got error message even I did run diagnostic it shows zero error. I upload both configuration pictures which try to create. Please help

Here first config and script:

Here second config and script:

Leave out the WHERE keyword and everything before it. Your clause is just Mill = 'RED2'.

wow, excellent. thank you so much.