Jump to content
  • 0

Just sharing, group records by week


NiceDuck
 Share

Question

Hello again,

I just want to share this workflow. 

In my tabular report, I want my records to be grouped by week but when I select the week rollup, it displays the weeknumber, (ex. week 1, week 2) instead of an actual date. Since I wanted to make it display the date of the first date of that week (ex, date of every sunday), I have made this workflow:

First, I created an extra date field, then, I created a triggered action/task to process the data. This is the pattern I used:
2070482069_photo_for_ticket35355.thumb.png.9ca7defa7943fb83340f21d1c9b452bf.png




Then I used the extra field weekdate to group my records instead of using the "week rollup" function.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I first tried using a formula field on that but I noticed that the DatePart "weekday" function is not usable on the formula field, thus I have to use a trigger instead.

Just sharing again, no problem here. feel free to comment if you have better suggestions.

quack

Link to comment
Share on other sites

  • 0

This is awesome. I needed a way to get the first and last dates of the current week (Sun/Sat) to include in the body of an email. All I had to do was throw this formula into a variable, duplicate it and add 6 days to the 2nd one. Now I can include the dates wherever I want in the email block. 

Many thanks, @NiceDuck

 

dates.thumb.PNG.552454da8ad003be88db0cfa48c3c4d8.PNG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...