Home : Grouping Weekly Examples
Q10709 - INFO: Grouping Weekly Examples

When using Spread Grouping functions (GAVG, GMAX, GFIRSTZ...) you can group the data by weeks.  The week is defined by n and whether or not the week should be displayed on the report is determined by the W, WS, or WO portion of the grouping.

"Wn": Week as defined by n.  IE "W7" is  Sunday thru Saturday.  Click here for a table defining weeks.  Only returns results where the end date of the week is in the report date range.  NOTE: "W24" is an exception to this rule, it only returns results if the Start Date of the week is in the report date range.

"WSn": Week as defined by n.  IE "WS7" is  Sunday thru Saturday.   Click here for a table defining weeks.  Only returns results where the start date of the week is less than the report end date and the end date is greater than the report start date.

"WOn": Week as defined by n.  IE "WO7" is  Sunday thru Saturday.   Click here for a table defining weeks.  Returns results for any week regardless of the report dates.  IE  "WO7" with an offset of 53 would return Sunday thru Saturday for one year from the start date of the report even if the report date range is one month. 

 

Download Example Template: Help_Grouping_Weekly_Examples.ss3 (Click here for download instructions)

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 2/6/2008 1:54 PM.
Last Modified on 5/18/2020 9:12 AM.
Last Modified by Scott Dorner.
Article has been viewed 4914 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article