Forum Discussion
USERELATIONSHIP with PREVIOUSYEAR returns blanks
After many hours of experiments, I finally solved it this way:
BILLED AMOUNT, PY =
Anonymous , I was having the same issue with blanks, and used your formula without the userelationship piece, as my dates are just month end dates, and I am totaling by month. But, the calculation is only summing Feb -Aug and not Jan-Aug. Any idea why that might be?
Thx
- Anonymous3 years agoNot applicable
Unsure, but it may have something to do with the structure of your dates table and whether it's actually marked as a dates table. I have run into the same issue in the past, but can't recall how I resolved it, though I feel like it had to do with the dates - like maybe I wasn't including the .[Year] portion of the measure.
- atowriss13 years ago
Advocate I
Anonymous ...I had an aha moment this morning and checked my date table. I had a typo and it was starting on 2/1 as opposed to 1/1.
Thanks for posting your solution....it really helped me out