Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cross-Tab Group Options - need week to be Tue-Mon 1

Status
Not open for further replies.

laugene

Programmer
May 15, 2008
2
US
Thanks in advance.

I have a crosstab in which I need to group by Year/Month/Week. I have no problem doing that using the default choices under the "Common" tab. The problem is that I am required to group the weeks from Tuesday to Monday and the default runs from Sunday to Saturday. Can someone please help?

Thank you
 
For week, add a column using this formula:

{table.date}- dayofweek({table.date},crTuesday)+1

You do not need to order by change of week, since this already clusters dates by the Tuesday start date of the week.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top