Forum Discussion

shashicr7's avatar
shashicr7
Regular Visitor
6 years ago

Error in creating last year sales measure using SAMEPERIODLASTYEAR function.

Hi, I have a measure LY Sales = CALCULATE([Sales_Amount Measure], SAMEPERIODLASTYEAR('PDW_DATE_D'[CAL_DATE]))   but is giving the following error: An invalid numeric representation of date value ...