I'm trying to set up a formula that will return a value that states whether the date of a line item is within the current week, previous week or none of the above. For example:
Week of 3/18/2019
Pulling data on 3/25/2019 (today's date at the time)
A line item with Day = 3/20/2019 would return "Current Week"
A line item with Day = 3/13/2019 would return "Previous Week"
A line item with 1/20/2019 would return "N/A"
I started with this formula but it isn't quite working. Anyone know??
if DateTimeDiff([Day],DateTimeToday(),'days') <= 7 THEN "Current Week" ELSEIF "No"
ENDIF