Hi There,
I have the following code. The code highlighted in orange is supposed to return the Monday of the most current week (i.e. if today is 4/4, it should pull 3/29. It continues to return 4/1.
Any help would be greatly appreciated.
Code:
Concurrent(
Set(currentUser,User()),
Set(currentMonday,
DateAdd(
Today(),(Weekday(Today(),Monday)-1)*-1,Days)),
Set(
weeksList,ForAll(Sequence(20,Day(DateAdd(Today(),-1 * (Weekday(Today(),Monday) - 1),Days)) - 28,7),Date(Year(Today()),Month(Today()),Value))));