Results 1 to 2 of 2
  1. #1
    mweisler20 is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    1

    Exclamation Calculation Help, Either Query or Crosstab

    I'm having a bit of a problem trying to figure out the right calculation to my own question. Overall I'm trying to get two answer's from one big query that was pulled on a selection of dates. I believe it would be easier you open the access database attached and look under my Help query, everything else that's in there is just non sense just part of my overall bigger program.


    But the end result that i'm looking for is this

    If I selected and Effect of "2.2" in the Query How many are there total and what is the overall value of them. So like in the help Query I would have (Two 2.2 Effects, with and overall value of 4) This query is rather small compared to my bigger one, and i'm looking for something that can calculate this a little bit faster then having to find all the "2.2" effects if I had 150+ rows to look through.


    Thank you for your help

    mweisler20Calculation help.accdb

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    Do you need to add criteria under [Effects and Objectives].Effects of: =[Date Picker]![Effect]?

    The result for this sample data would be one record.

    If you want to know the count of records and the sum of Effects, do a GROUP BY (Totals) query. However, this will not allow the display of other detail info. Build a report to allow that. Or do a Totals row on the filtered query. With query in Datasheet view, click the Totals button on ribbon Home tab. This will open a row where can select aggregate functions under each field.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Crosstab Query
    By BLD21 in forum Queries
    Replies: 2
    Last Post: 09-12-2011, 11:58 AM
  2. Crosstab query
    By Deutz in forum Queries
    Replies: 2
    Last Post: 08-23-2011, 06:43 PM
  3. Crosstab Query Help
    By ksmith in forum Programming
    Replies: 7
    Last Post: 12-01-2010, 07:00 AM
  4. Replies: 1
    Last Post: 07-30-2010, 10:28 AM
  5. crosstab query calculation
    By rutica in forum Queries
    Replies: 2
    Last Post: 04-28-2009, 09:52 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