Crosstab Query

S

Simon

I have a crosstab query that shows the products i sale with the number
i have sold for each day.

instead of showing the sales for each day i would like to show sales
dor each months.

How do i show it my month


Thanks
 
A

Allen Browne

In query design view, enter this into a fresh column in the Field row:
TheYear: Year([SaleDate])
Replace SaleDate with your actual field name.

In the next column:
TheMonth: Month([SaleDate])

You can now group on these fields instead of on each date.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top