Hi all,
I need to show the results that are generated on Friday, Saturday and Sunday on monday. Then for the other days from Tuesday to till Friday I need to show the previous day data.
I tried the below formula but, no luck.
IF DateTimeFormat(DateTimeToday(), "%a") = "mon"
THEN DateTimeDiff(DateTimeFormat(DateTimeToday(), "%Y-%m-%d"),DateTimeFormat([Date],"%Y-%m-%d"),"days")<4
ELSE DateTimeFormat([Date],"%Y-%m-%d") = DateTimeFormat(DateTimeAdd(DateTimeToday(), -1, "days"), "%Y-%m-%d")
ENDIF
Please check and help how to achieve this.
Thank you.
Best Regards,
Teja.