K
Kevin Labore
Hi
I have successfully created many crosstab queries. I need to build a query
so I can build a report from that query to give me different results than I
have down before and I dont know how to go about it. I have built several
queries where I did a crosstab querry for a single result (ie. Sales, #
Customers, # items sold , etc). The new crosstab result I am attempting to
create needs something a little different. The prior crosstab I build did a
crosstab by week & year (in Col) and then on the value(Sales, Cust, Items
etc). I want to build a similar crosstab but so show all the items (Sales,
Customers, Items, etc) and group by a Seasonal Code (Valentines, Easter,
Summer, Christmas, etc) I can group just sales or just customers etc by the
seasonal code but I want a crosstab where I can build a report from that
will display all the data for each season (with the col. in year).
I would also like to group by week(as Row) (as I have done in other
crosstabs) so I would be able to generate a report that would look something
like below
Easter Season
Week 12 2004 2003
Sales $1000 $800
Cust 115 98
Items 211 195
Week 13 2004 2003
Sales $1200 $900
Cust 125 111
Items 251 222
Total For All Weeks(sum)
would sum above weeks
I can generate a crosstab query and report to display just sales, or just
customers by season by I want to do mutiple fields...
I cant seem to do mutiple field values with a crosstab query --- I am sure
there must be a work around for this type of situation
Can someone tell me how to do this? Also an example would probably be
helpful
Thanks
Kevin
I have successfully created many crosstab queries. I need to build a query
so I can build a report from that query to give me different results than I
have down before and I dont know how to go about it. I have built several
queries where I did a crosstab querry for a single result (ie. Sales, #
Customers, # items sold , etc). The new crosstab result I am attempting to
create needs something a little different. The prior crosstab I build did a
crosstab by week & year (in Col) and then on the value(Sales, Cust, Items
etc). I want to build a similar crosstab but so show all the items (Sales,
Customers, Items, etc) and group by a Seasonal Code (Valentines, Easter,
Summer, Christmas, etc) I can group just sales or just customers etc by the
seasonal code but I want a crosstab where I can build a report from that
will display all the data for each season (with the col. in year).
I would also like to group by week(as Row) (as I have done in other
crosstabs) so I would be able to generate a report that would look something
like below
Easter Season
Week 12 2004 2003
Sales $1000 $800
Cust 115 98
Items 211 195
Week 13 2004 2003
Sales $1200 $900
Cust 125 111
Items 251 222
Total For All Weeks(sum)
would sum above weeks
I can generate a crosstab query and report to display just sales, or just
customers by season by I want to do mutiple fields...
I cant seem to do mutiple field values with a crosstab query --- I am sure
there must be a work around for this type of situation
Can someone tell me how to do this? Also an example would probably be
helpful
Thanks
Kevin