Weekly Timesheet Slice

Hello, iโ€™m creating a Weekly User specific timesheet for the users of an app. Each user should be able to see his/her own entries only (easily done using [USER_UID] = USEREMAIL()) and only for each new week (Monday - Sunday).

How will I only show each weekโ€™s entries? Iโ€™m tracking the DateTime the entries are created but something like DATE + 7 wouldnโ€™t work because if you log an entry on Saturday it will last till next Saturday. Should I check if the creation date is between this Mondayโ€™s date & this Sundayโ€™s date? How can I know this weekโ€™s Monday & Sunday date?

Solved Solved
0 4 205
1 ACCEPTED SOLUTION

You can do that with the EOWEEK() expression. Have you checked that?

View solution in original post

4 REPLIES 4

You can do that with the EOWEEK() expression. Have you checked that?

I didnโ€™t know about it. Thank you! So if the week starts on Monday (for me) & ends on Sunday, would that be

AND(DATE([CreatedDate]) >= EOWEEK(DATE([CreatedDate]) - 5),DATE([CreatedDate]) <= EOWEEK(DATE([CreatedDate]) + 1)) ?

Steve
Platinum 4
Platinum 4

For reference:

For example yes.

Top Labels in this Space