Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

giovanniscalzo
New Contributor

Calculation of the months related to the selection of the year

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?

Community Browser