Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

SAMEPERIODLASTYEAR returns bank

Hello all,  I am working on the AdventureWorks tables and trying to create a Sale Performance report.  I have these three measures:    Total Sale = SUMX(InternetSales, InternetSales[OrderQuantity...
  • Anonymous's avatar
    Anonymous
    7 years ago

    Hi

     

    It's because your Slicer is using a calculated column and your measure for Same period last year is using another column.

    The sameperiodlastyear function must use the same column that you are filtering with your slicer.