Pick Dim method is sort of a hack that you need to use because QlikView doesn't have a direct way of dealing with this kind of problem. The goal is to have multiple dimensions with just a single expression. In your case, this will be the values for Dim
and Year will have a condition for the last column.