Results 1 to 5 of 5
  1. #1
    Divindunk is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Jul 2014
    Location
    Birmingham England
    Posts
    11

    Can I get grand total for items within a report group

    Hi



    I have a production report which is grouped by Machine and then by Shift (A, B & C) I have totals for each shift for each machine. Can I get a grand total of the individual shifts at foot of report i.e. grand total for A, B & C shift for all machines? Any assistance would be much appreciated, thanks.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    in the report, create a Shift group band, make the footer visible.
    ad the Amt field, (or whatever your field name is)
    and set it to SUM(amt)

    do the same for the report footer: SUM(amt)
    this will sum all shifts.

  3. #3
    Divindunk is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Jul 2014
    Location
    Birmingham England
    Posts
    11
    Hi thanks for the response. I am not I understand your solution but you say at the this will sum all the shifts and having read my original question again, I don't think I made it clear that I have totals for each shift A B & C in the shift group footer but want to sum each shift separately to give a grand total for the A shift, B shift and the C shift as separate items at the end of the report? Will the solution you have suggested do this? Thanks again

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    thats a harder way, when the way i suggested provides the solution. The way Access works.
    If you want all sums at the footer, then you need a SUB report.
    make a query to sum the shifts, put this sub report at the footer of the main reports.

  5. #5
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,511
    Could you use DSum as the control source in the Report footer? Not sure what value you are summing or tablename or if there are other criteria for the data on the report.
    MachineTotalA field:
    = DSum("[Hours]", "tblMachineData", _
    "[Machine] = 'A'")

    MachineTotalB:
    = DSum("[Hours]", "tblMachineData", _
    "[Machine] = 'B'")

    MachineTotalC:
    = DSum("[Hours]", "tblMachineData", _
    "[Machine] = 'C'")

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

Similar Threads

  1. How do i populate my grand total report efficiency?
    By ThornofSouls in forum Reports
    Replies: 3
    Last Post: 07-07-2016, 09:32 AM
  2. Grand total on grouped report?
    By dmon2010 in forum Reports
    Replies: 1
    Last Post: 02-26-2015, 02:02 PM
  3. Replies: 4
    Last Post: 06-07-2014, 01:54 PM
  4. How to Calculate this Grand Total
    By TWD in forum Reports
    Replies: 2
    Last Post: 01-13-2012, 11:36 AM
  5. Grand Total Field ???
    By damo1995 in forum Forms
    Replies: 6
    Last Post: 02-10-2011, 02:43 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