Forum Discussion
mlavey24
7 years agoFrequent Visitor
Error using the 'DAY' interval in my PARALLELPERIOD() function
I am currently trying to create a measure that calculates yesterday's sales amount, relative to any date I pass through my Date slicer. The syntax reads as follows: Yesterday's Sales = CALCULA...
- 7 years ago
I figured this out. I just replaced PARALLELPERIOD with DATEADD and the measure calculated properly. I'm still interested in why DAY cannt be used as an interval but effectively, it doesn't matter for this exercise.
mlavey24
7 years agoFrequent Visitor
I figured this out. I just replaced PARALLELPERIOD with DATEADD and the measure calculated properly. I'm still interested in why DAY cannt be used as an interval but effectively, it doesn't matter for this exercise.