Expression Error

Don’t know why the expression here is telling wrong.

Error Message Showing:-

The expression is valid but its result type ‘List’ is not one of the expected types: Yes/No

FILTER(“Sameday photo”, AND(ISNOTBLANK([Date]),[Date] >= TODAY() ))

The expected result for a CONDITION is YES/NO or TRUE/FALSE the formula used is a FILTER which returns a list of values. Might be missing wrapping the FILTER with COUNT(FILTER..))>0

1 Like

@James_McFarlane @Thank you for your Response

Your suggestion is true but showing error

COUNT(

FILTER(
“SCAN SHEET”,
AND(
ISNOTBLANK([Date]),
[Date] >= TODAY()
)
)
) > 0

This is a new error message related to how the bot is configured because it is based on 2 different tables.

How can I fix this error.

Need help

Call a script. Or set the tables correctly

Hola buenas tardes.

Esa formula te devuelve la lista de id donde ese evento esta ocurriendo. Deberia ser un resultado verdadero o falso ejemplo prueba esta solucion

Isnotblank(FILTER(“Sameday photo”, AND(ISNOTBLANK([Date]),[Date] >= TODAY() )))

Si hay al menos un id en la lista de filter será true y quizas ahi funcione el bot. Espero te sirva el ejemplo. Saludos.