Results 1 to 4 of 4
  1. #1
    mike02 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    245

    totals, (SUM) Grouping Dates Based on an ID....

    Hello,

    I have A query Setup like this:

    ProductID....MonyhlyDate....SumOfNReturn.....SumOf Starting
    1...............03/02/2013......-2000.................40,000
    1...............03/02/2013......1000..................59,000
    1...............03/02/2013......3000..................28,000
    2...............02/04/2013......-5000.................10,000
    2...............02/04/2013......4000..................80,000
    2...............30/04/2013......3000..................200,000
    3...............and so on
    3...............
    3...............




    Now for the 2 Sumof.... I am using the Totals In the query from the ribbon... What i want it to do is group the dates into 1...

    IE
    ProductID....MonyhlyDate....SumOfNReturn.....SumOf Starting
    1...............03/02/2013......2000.................127,000
    2...and so on..

    now I understand Why it doesnt, as the query the data comes from is Defined with a clientID. How can I set up the totals to Sum all numbers in that field with the same corresponding Date?

    thanks,

  2. #2
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Leave ProductID out of the query.

    Dale

  3. #3
    mike02 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2012
    Posts
    245
    I removed the ClientId from the previous query, works good now, thanks for the input!

  4. #4
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    you are welcome.

    Dale

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

Similar Threads

  1. Replies: 1
    Last Post: 01-16-2013, 06:48 PM
  2. Grouping Columns with dates
    By gauravnagpal in forum Access
    Replies: 6
    Last Post: 04-10-2012, 06:03 AM
  3. Need help with totals/grouping
    By Leon_SF in forum Queries
    Replies: 3
    Last Post: 02-08-2012, 09:51 AM
  4. Reports Grouping Totals in details
    By slatterie in forum Reports
    Replies: 1
    Last Post: 01-27-2012, 07:10 PM
  5. Replies: 1
    Last Post: 06-09-2011, 09:15 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