Results 1 to 2 of 2
  1. #1
    rodcoil is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    1

    Newbie in need of assistance

    Folks;



    I am good regarding the basic design of a database in MS Access but not so much at manipulating the data contained within. I need to be able to caclulate the difference between rows within specific fields. Once I've accomplished that, I can build a required monthly report. Access is the route that I've chosen due to budget constraints and all that fine stuff.

    Here's the info:

    Table Name: FileServer

    Field Name: cluster_total_capacity

    I have a "Date Entered" field which indicates the month in which the data was captured. For this exercise, we'll say February and March.

    What I need to do is design a query that will calculate the growth (or shrinkage) of that capacity from February to March.

    I've been struggling with this for a few days so I decided to come and ask the experts. I really want to use a single tool for all of this stuff rather than exporting to a pre-configured excel tab, re-importing into Access and generating the reports.

    Please help if you can.

    Thanks!

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    To calculate the difference of the same field between rows : you must first bring together just the rows that should be part of the calculation in your 1st query (Q1)

    Then make a new query using Q1 and option it to be an Aggregate Query ....the sigma big E icon in the ribbon - you might want to look up that type query...

    Possibly this can be done in a single query but doing it in 2 allows you to more easily sanity check your data.

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

Similar Threads

  1. VBA assistance
    By Kwbrown in forum Programming
    Replies: 3
    Last Post: 03-15-2014, 03:09 PM
  2. Qry Assistance Please
    By buck in forum Access
    Replies: 8
    Last Post: 12-31-2013, 08:52 AM
  3. Loop Assistance
    By MegA248 in forum Forms
    Replies: 7
    Last Post: 05-01-2013, 12:24 PM
  4. dlookup assistance
    By underscore in forum Access
    Replies: 4
    Last Post: 12-28-2011, 06:32 AM
  5. Need Assistance with Forms
    By JDA2005 in forum Forms
    Replies: 5
    Last Post: 06-30-2009, 03:37 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