0 Replies Latest reply: May 30, 2018 4:14 AM by Giovanni Scalzo RSS

    Calculation of the months related to the selection of the year

    Giovanni Scalzo

      Good morning, I have the following problem:

      based on a selection for the Year field, the graph is constructed as follows:

      Sum ({<monthdv = {'gen', 'feb', 'mar', 'apr', 'mag', 'jun', 'lug', 'ago', 'set', 'ott', 'nov' , 'dic'}, [DATA ODV.autoCalendar.Year] = {"$ (= Max (Year ([DATA ODV])))"}>} PRV_RICAVI)

      The value of the months present in the meseodv field varies according to the selected year.

      The current year does not contain all the months, the previous years yes.

      How can I proceed with the construction of this string?