Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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?

0 Replies