I govern the selection of year and month using list boxes tied to i_year and i_month as shown in the image.
This works.
However, if only the year is selected and nothing in month, the metrics show 0. How do I extend the metric expressions so that I get a yearly value if the year is selected and a monthly value if both year and month are selected?