Forum Discussion

a68tbird's avatar
a68tbird
Resolver II
9 years ago
Solved

Difficulty with SAMEPERIODLASTYEAR

Hello All -   Having some problem wrapping my head around the SAMEPERIODLASTYEAR function.  After having much difficulty actually trying to get anything but a blank value, this article helped me ver...
  • kcantor's avatar
    9 years ago

    a68tbird

    ARe you putting in the months on the axis so that the formula has a way to break down the measure? It is doing exactly what the DAX say. It is calculating year to date sales. When you add same period last year, your measure still requests the year to date total. You would need to specify start and end dates within your same period measure to create a difinitive cut off for totals.