I'll keep this simple to begin with!!
I have various tables but basically a list of items sold against a date. I want by month how many items were sold per month. here is one order per month To get this I've used the query wizard. I did a bit of research and it seemed I needed a crosstab. THis works but now some complications.
I actually want the number sold and total price as well. The query wizard only takes one column value and in design mode it's the same.
I now have 2 crosstab queries, one for value and one for total prie. How can I merge them together.
Another complication is that each order there will be 1 or more shipments. The user wants to put this in the column heading together with dates sent. I hold this data and link it to the order itself. For example if there were 2 shipments in July comprising of 4 and 6 boxes respectively the heading would be
July 9 +9a post 22/26.06.2018 4+6 x Box
The latter I'm not 2 bothered about but I could with working out how to get more than 1 value under the column heading.
I have various tables but basically a list of items sold against a date. I want by month how many items were sold per month. here is one order per month To get this I've used the query wizard. I did a bit of research and it seemed I needed a crosstab. THis works but now some complications.
I actually want the number sold and total price as well. The query wizard only takes one column value and in design mode it's the same.
I now have 2 crosstab queries, one for value and one for total prie. How can I merge them together.
Another complication is that each order there will be 1 or more shipments. The user wants to put this in the column heading together with dates sent. I hold this data and link it to the order itself. For example if there were 2 shipments in July comprising of 4 and 6 boxes respectively the heading would be
July 9 +9a post 22/26.06.2018 4+6 x Box
The latter I'm not 2 bothered about but I could with working out how to get more than 1 value under the column heading.