Question: how to calculate difference between two measures in tableau?
Answer: In Tableau Desktop, right-click the sheet name and select Duplicate sheet. ... 
Navigate to Analysis > Create calculated field...
Name the calculated field and enter a formula similar to the following: SUM([Sales]) - LOOKUP(ZN(SUM([Sales])), -2)