Report using a filter

chris89

Registered User.
Local time
Yesterday, 18:11
Joined
Nov 28, 2011
Messages
71
Hello ,
I have a table that seems like the attached pic
Now what I really want is to have a sum by : product , month , year
The problem is that I have more than 2 products (about 60) so I can t do it by hand everytime.
Is there a way to achieve this in Access 2007
p.s. I m very new to access and sql so any help would be much appreciated

Thank you in advance
 

Attachments

  • Untitled.png
    Untitled.png
    14.8 KB · Views: 74
Last edited:
Thank you for your reply I'll check it out!
 
I looked into those links and I figured out how to do it in a report!
Is there another way to do it on a query?
Here is what I really would like to have :
query that has the following fields: product ,month , year total that is calculated per Month for each product and total that is calculated per year.(attachement shows it better I think!)
Any help would be much appreciated
Thank you again!
 

Attachments

  • Table.png
    Table.png
    14.8 KB · Views: 77
  • query.png
    query.png
    14.6 KB · Views: 78
Yes it's possible. Search the microsoft office site I gave you for Sum data in a query.

You will need to use the Format() function to get the month name, or alternatively use the Month() and MonthName() functions. For year, use the Year() function.

Look at this site for the functions mentioned above:

http://www.techonthenet.com/access/functions/index.php
 
And for products grouping should I use DISTICT function ?

Thank you for your reply
 
Ok I am really close now thank you very much!
 

Users who are viewing this thread

Back
Top Bottom