@palterau welcome to the KNIME forum. The Column Expressions – KNIME Community Hub does have a multi-row access where you can reference values from other lines. You might as well add a condition when these lines should be invoked.
An alternative could be to join the data via ID and the month/year.