As I understood, you want to compare the matching data between two years. My suggestion is to duplicate the data source, and make data blending. Filter the first data source on year 2017 and second on 2018 and brake the link between Year field. Keep all other links and the result will be only the matching data between them.
I hope this will help.
test_new - Copy_v10.2.twbx 48.1 KB
Thank you Valentina. It helped me.