dear SAS experts,
I must select data over several weeks and over the end of the year.
In the table, I have a column JAHR (year) and a column KW (week), as in the attached file.
In the week 1 (KW = 1), I Need to select the green selection.
In the week 1 (KW = 4), I Need to select the yellow selection.
In the week 1 (KW = 5), I Need to select the red selection.
How could I proceed?