Results 1 to 3 of 3
  1. #1
    gacapp is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2009
    Posts
    16

    How to get totals on report for a specified year

    Hello - not sure if this is in the right forum but if not, I will post in the appropriate one.

    I have a report that feeds off a Sum Query. The query accumulates totals for various data for each month and then the report gives a total for all months, which includes multiple years.

    So first of all, my queries data looks like this:

    Click image for larger version. 

Name:	access1.jpg 
Views:	8 
Size:	35.7 KB 
ID:	23966

    As you can see, there are totals for each month, starting in June 2015 thru February 2016.

    Now my report looks like this:

    Click image for larger version. 

Name:	access2.jpg 
Views:	8 
Size:	35.4 KB 
ID:	23967

    As you can see the overall totals are at the bottom.

    What I need is a way for the report to give the totals for just a single year - like 2015.

    So how to I change the report to reflect the totals for just 2015? Is it a change in the report or the query it feeds off of?

    If someone can help me and give and example, I would truly appreciate it. I'm not an expert in Access, so your patience is appreciated.

  2. #2
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932
    use a filter or criteria

    where year(dateofvisit)=2015

    note you do not really need the '201512' column - if required it would just be format(dateofvisit,"yyyymm")

  3. #3
    gacapp is offline Novice
    Windows XP Access 2003
    Join Date
    Jul 2009
    Posts
    16
    Again sorry but I am new to this and i still confused. Would the criteria go in the query that my report feeds off of or the report itself?

    If it does go in the report, would I do this:

    Go to the Properties of the report, go to the Data tab, go to the Filter line and put in: Where Year(Date_Of_Visit By MoYr)=2015

    If anyone can help I would appreciate it

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 05-29-2015, 11:52 AM
  2. Creating Year End Totals Report
    By Gary Childress in forum Reports
    Replies: 1
    Last Post: 03-01-2015, 07:51 PM
  3. Replies: 4
    Last Post: 02-25-2015, 12:44 PM
  4. Replies: 5
    Last Post: 12-06-2011, 11:18 AM
  5. Month totals and Year totals
    By marksnwv in forum Access
    Replies: 1
    Last Post: 08-05-2011, 10:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums