Need your help please

I am new to KNIME and I need to create a new column where is an “1” if in the $column1$ is an “fail” or an “error” and the date in the $column2$ is <28.08

how can this be realized?