How to compare part of YearMonth with same part previus year?
- Let's say The date is 2017-05-16.
- You choose Yearmonth 201705.
Sales Amount = 1,57 MSek, (That's only from 1/5-2017 - 16/5 -2017)
Sales Amout previus year = 2.99 MSek (The whole monthMay- 2016)
Even if I choose 201705, How to compare dates between 1/5- 16/5 ?