F
Fleone
First, I apologize for what may appear as a cross-post. I inadvertantly
posted this question to another post that is 2 years old. (I don't know how I
missed that)
Is it possible to alter the "starting week" for the year to reflect a fiscal
calendar instead of a standard calendar?
The code that I am using looks like this:
SELECT DatePart("ww",[sentdate],1) AS Week, Count(tbl_mytable.sentdate) AS
CountOfnum
FROM tbl_mytable
GROUP BY DatePart("ww",[sentdate],1);
I know that if I do not specify the constant for the <firstweekofyear>
argument that it defaults to the week that has January 1st.
Is there a way to have the function start at say October 1st instead? This
would synchronize the week number count that I have as a result with the
fiscal calendar that we use.
TIA
posted this question to another post that is 2 years old. (I don't know how I
missed that)
Is it possible to alter the "starting week" for the year to reflect a fiscal
calendar instead of a standard calendar?
The code that I am using looks like this:
SELECT DatePart("ww",[sentdate],1) AS Week, Count(tbl_mytable.sentdate) AS
CountOfnum
FROM tbl_mytable
GROUP BY DatePart("ww",[sentdate],1);
I know that if I do not specify the constant for the <firstweekofyear>
argument that it defaults to the week that has January 1st.
Is there a way to have the function start at say October 1st instead? This
would synchronize the week number count that I have as a result with the
fiscal calendar that we use.
TIA