Results 1 to 2 of 2
  1. #1
    epardo87 is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Dec 2016
    Posts
    101

    summarize query results

    Hello all,



    I'm creating a nutritional data base, for a nutritionist to create diet programs and receive a summarized report of nutrients. among all the queries and tables, I think the following are the ones that matter:
    • I have table "tbl_Nutrients" which has each nutrient that needs to be summarized (20 rows)
    • I have query "Qry_Diet_Day" which has the list of food and portion consumed in a given day
    • I have query "Qry_Nutr_Day" which is the same data as "Qry_Diet_Day" but each food is exploded into every single nutrient and the calculation of it per the amount consumed (for example egg appears in 20 rows to calculate each nutrient by the portion of egg consumed, and then bacon appears another 20 times, and orange juice another 20 times, etc...)


    what I need is a query that only summarizes the nutrients consumed from the whole "Qry_Nutr_Day" but showing only one row per nutrient (query of 20 rows total) like in"tbl_Nutrients"

    how can I do that?

    thanks for your time!

  2. #2
    epardo87 is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Dec 2016
    Posts
    101

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

Similar Threads

  1. Query to summarize data by month
    By wpryan in forum Forms
    Replies: 1
    Last Post: 12-26-2015, 06:44 AM
  2. Query help to summarize data by work week
    By saseymour in forum Queries
    Replies: 4
    Last Post: 07-18-2013, 07:29 AM
  3. Replies: 2
    Last Post: 11-04-2012, 02:08 PM
  4. query to summarize top ranking data
    By CMR in forum Queries
    Replies: 1
    Last Post: 09-17-2012, 02:08 PM
  5. Update query to summarize multiple values
    By ser01 in forum Queries
    Replies: 3
    Last Post: 05-15-2010, 09:38 AM

Tags for this Thread

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