Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all,
I am busy creating a flag for last week last year but it is displaying a wrong period.
The expression i use is the following:
If((TempDatum>=Weekstart(AddMonths(today(),-7),-12) and TempDatum<=WeekEnd(AddMonths(Today(),-7),-12)),1) as [O.LWLY Flag]
It is currently displaying a week in April starting at April 16th and ending at April 22th.
Does anyone have any suggestions on how to solve this so it shows last week last year (February 4th till February 10th).
Many thanks in advance!
Sincerely,
Rick