Results 1 to 2 of 2
  1. #1
    rajmns is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2010
    Posts
    1

    Obtain the MAX values on a monthly basis

    Hello Gurus,



    I have a table with data on daily basis. I want to create a report that gives me data on daily basis but breaks every month and gives me the max value for each month. Is it possible to achieve that using Queries?

    Your feedback is appreciated.

    Thank you.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    This should give you the monthly max:

    SELECT Format(DateFieldName, "yyyymm") As TheMonth, Max(DataFieldName) As MaxData
    FROM TableName
    GROUP BY Format(DateFieldName, "yyyymm")
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 5
    Last Post: 11-24-2010, 11:46 PM
  2. Import Monthly Backlog - Excel
    By eww in forum Import/Export Data
    Replies: 2
    Last Post: 08-17-2010, 02:38 PM
  3. Automated Email Reports - monthly no clicks
    By Bamber in forum Reports
    Replies: 1
    Last Post: 05-12-2010, 12:34 PM
  4. Obtain data from another table
    By Suzied in forum Database Design
    Replies: 0
    Last Post: 03-23-2010, 11:52 AM
  5. Replies: 7
    Last Post: 12-14-2009, 04:49 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