Results 1 to 4 of 4
  1. #1
    Long Tom Coffin is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    10

    Subtotals in reports are calculating incorrectly.


    I'm attempting to put together one last report for this particular database, and then it will be completed. Unfortunately, I cannot seem to get the subtotals working right in the report. I am attaching a copy of the database. The report I'm concerned with is "Total Report". I have been using the "Totals" button inside the design view, but while it calculates some totals correctly, it also miscaclulates others.

    Any suggestions?



    Experimental copy.zip

  2. #2
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    India
    Posts
    616
    While in report's design view, click on "Groups & Sort". Click on the relevant group --> More --> with totals-->Select your field to "Total on" and check the box for "Show sub-total in group footer"

  3. #3
    Long Tom Coffin is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Jun 2012
    Posts
    10
    Quote Originally Posted by amrut View Post
    While in report's design view, click on "Groups & Sort". Click on the relevant group --> More --> with totals-->Select your field to "Total on" and check the box for "Show sub-total in group footer"

    Doing this is what is getting me the wrong subtotals. For example, while trying to group and subtotal by allotment, it will return the actual allotment 5x over, instead of the true amount

  4. #4
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,085
    Looked at your query according to what I'm seeing you have 6,300,000 in each record of the sumofobligationamount. In the previous column obligationamount totals to 9,600,000. 6,300,000 on 06/29/2012 and 3,300,000 on 6/27/2020 and 7/3/2012. Somewhere there are 2 different dates for the same obligation amount so those 2 records are having the obligation amounts added twice. You need to look at each query if the query is based on another query go back to the beginning and find where the oblication amount is duplicated and fix it there.

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

Similar Threads

  1. Report summing incorrectly (access 2003)
    By cyasuda in forum Reports
    Replies: 1
    Last Post: 04-06-2012, 03:24 PM
  2. Replies: 6
    Last Post: 03-15-2012, 09:50 PM
  3. This expression is typed incorrectly
    By Ray67 in forum Queries
    Replies: 9
    Last Post: 01-03-2012, 12:53 PM
  4. Replies: 0
    Last Post: 07-19-2009, 12:19 PM
  5. calculating sums in reports
    By Hannu in forum Reports
    Replies: 1
    Last Post: 03-12-2009, 02:59 PM

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