Hi @Cynthia McMahon ,
If the date format is like '2022-Dec-09', you may use expression to get the previous year if the month is Jan.
SUBSTRING(yourdatecolumn,6,3)== "Jan" ?(YEAR( (DT_DBTIMESTAMP)(yourdatecolumn))-1):YEAR( (DT_DBTIMESTAMP)(yourdatecolumn))
You may modify the expression with your date setting.
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.