
I am struggling with my flow to get data for next year. Here is my filter which does not work:
equals(item()?['End Date'], addToTime(triggerBody()['date'], 1, 'Year')
Try the following that will get all End Dates in the next Year.
equals(formatDateTime(item()?['End Date'], 'yyyy'), addToTime(triggerBody()['date'], 1, 'Year', 'yyyy'))