4 Replies Latest reply: Mar 1, 2018 9:20 AM by Massimo Favaro RSS

    Why this expression is working while this other won't

    Massimo Favaro

      Hello everyone.

      I'm trying to understand why this formula

      "COUNT({<[subscribe_date.autoCalendar.Year] = {$(vMaxSubscribeYear)}>}subscribe_date)"

      is working while

      "COUNT({<YEAR([subscribe_date.autoCalendar.Date]) = {$(vMaxSubscribeYear)}>}subscribe_date)" isn't.

      YEAR([subscribe_date.autoCalendar.Date] shouldn't be equal to [subscribe_date.autoCalendar.Year]?

      What am I misunderstanding?