Hi again
I am doing three Crosstab Querys that is supposed to show how many sales a person has weekly, monthly and Quarterly.
I used this function to fix the quarterly:
Quarter: "Qtr " & DatePart("q";[TBL_Day].[Date];1;0)
My question is: How do I alter it so it sorts by month and week? I tried:
Month: "Mth " & DatePart("m";[TBL_Day].[Date];1;0)
but that did not work. Any ideas?
By the way, the query is very simular to the "Quarterly Orders by Product" query in the "Northwind" sample database that comes with Access.
Best regards
Thomas Fyhn
[sig][/sig]
I am doing three Crosstab Querys that is supposed to show how many sales a person has weekly, monthly and Quarterly.
I used this function to fix the quarterly:
Quarter: "Qtr " & DatePart("q";[TBL_Day].[Date];1;0)
My question is: How do I alter it so it sorts by month and week? I tried:
Month: "Mth " & DatePart("m";[TBL_Day].[Date];1;0)
but that did not work. Any ideas?
By the way, the query is very simular to the "Quarterly Orders by Product" query in the "Northwind" sample database that comes with Access.
Best regards
Thomas Fyhn
[sig][/sig]