Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Comparing Periods when SAMEPERIODLASTYEAR doesn't work

Hello,   I am trying to compare sales data this fiscal period vs the sale fiscal period last year. Until now I have been using SAMEPERIODLASTYEAR but have now realized that it is not always accurat...
  • Anonymous's avatar
    Anonymous
    6 years ago

    Hello All,

     

    I found a simple solution using the DATEADD function. We operate in 13 periods of 28 days, so DATEADD with 364 days does the tricks nicely.

     

    Thank you all for your contributions with inspired this solution.

     

    Michael