Here I have attached screen shot and twbx file(2018.1 Version)
Create two calculation for Both year like below Image
IF YEAR([Order Date])= 2016 THEN [Sales]
IF YEAR([Order Date])= 2017 THEN [Sales]
Here Your solution is.
Please mark correct and helpful if it works for you
Difference.twbx 1.1 MB