I have used the following formulas without success, with the error "Semantic Error: The value for Monthdate cannot be determined...."
Last Years Sales:=CALCULATE([Total Sales]),DATEADD([Monthdate],-1,Year))
Last Years Sales:=CALCULATE([Total Sales]),SAMEPERIODLASTYEAR([Monthdate])
The dates contained within Monthdate are of the format day/month/year. There are only 13 dates to represent the months data ie. 1/4/14, 1/5/14 etc but they are repeated a number of times for each reps sales.
Please could you advise what I am doing wrong?
Thanks in advance
Sean
Last Years Sales:=CALCULATE([Total Sales]),DATEADD([Monthdate],-1,Year))
Last Years Sales:=CALCULATE([Total Sales]),SAMEPERIODLASTYEAR([Monthdate])
The dates contained within Monthdate are of the format day/month/year. There are only 13 dates to represent the months data ie. 1/4/14, 1/5/14 etc but they are repeated a number of times for each reps sales.
Please could you advise what I am doing wrong?
Thanks in advance
Sean