21 Replies Latest reply: Jul 28, 2014 12:39 PM by Lior Abitbol RSS

    Check between dates

      hi everyone, I was trying adding this kind of lines in my script

       

      (CASE (DO31_DATADELIVERY - DO11_DATADOCUMENT)

      WHEN (DO31_DATADELIVERY - DO11_DATADOCUMENT)>3 THEN 'In Tempo'

        WHEN (DO31_DATADELIVERY - DO11_DATADOCUMENT)>7 THEN 'Ritardo'

        END)

       

      but I always receive error. But in the chart if I insert the calculation (DO31_DATADELIVERY - DO11_DATADOCUMENT) as an expression, I obtain the number of days between the two dates.

       

       

       

      What I'm doing wrong??