I have a Table (and query) that gives me the results that I'm looking for but I need to pivot them.
The results currently are shown as:
Date, Dept, Class, Avg Price, Avg Cost
2/01/04 1 3 25.00 13.33
3/15/04 1 3 24.57 13.25
etc
What I'm trying do is pivot this data to look like this
Date Dept/Class Avg Price, Avg Cost so using the above numbers
Dept Class Date Date
2/01/04 03/15/04
1 3 25.00,13.33 24.57,13.25
Cross tab'ing the query only allows me 1 set of data within the row so I can do price or cost but not both. I ultimately need to export the data to a CSV in this format. I know how to do this in Crystal but seems like I should be able to do the same pivot in Access & keep my exporting to one DB product at a time.
Thanks in advance -
Gina
The results currently are shown as:
Date, Dept, Class, Avg Price, Avg Cost
2/01/04 1 3 25.00 13.33
3/15/04 1 3 24.57 13.25
etc
What I'm trying do is pivot this data to look like this
Date Dept/Class Avg Price, Avg Cost so using the above numbers
Dept Class Date Date
2/01/04 03/15/04
1 3 25.00,13.33 24.57,13.25
Cross tab'ing the query only allows me 1 set of data within the row so I can do price or cost but not both. I ultimately need to export the data to a CSV in this format. I know how to do this in Crystal but seems like I should be able to do the same pivot in Access & keep my exporting to one DB product at a time.
Thanks in advance -
Gina