Forum Discussion

joshuavd's avatar
joshuavd
Frequent Visitor
9 years ago
Solved

same period last year not working

I have been trying to create a SamePeriodLastYear() query but I am getting the same amount for the time period and wondering if someone could help me figure out what is wrong.  The pictures of the da...
  • vanessafvg's avatar
    9 years ago

    joshuavd might be worth a shot, but i see you have a smart datekey in your table, is your relationship between the tables (ie sales data to date table )on the smart key ie 20110101 or the date field - if its on the smart key change it to the date field