Results 1 to 2 of 2
  1. #1
    AccessTheBase is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2011
    Posts
    2

    Show sum based on criteria, but show all rows independent of criteria

    For each product in the database,


    I want to show sum(order value)
    Where Country = "Germany"

    BUT I want to show all product rows, also those with no revenue in Germany. How can I accomplish this?

    Product1 | 51264
    Product2 |
    Product3 | 1215
    Product4 |
    Product5 |

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,544
    Can you tell us a little more ablut your table structure.

    I would expect you to have at least 3 tables (Sales, Products, Countries)
    If this is correct can you tell the names of the tables and related fields.

    If this is NOT correct can you tell us what you do have.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

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

Similar Threads

  1. Criteria to show date range
    By Douglasrac in forum Queries
    Replies: 2
    Last Post: 03-24-2011, 03:58 PM
  2. Replies: 6
    Last Post: 02-24-2011, 03:24 PM
  3. Replies: 1
    Last Post: 01-24-2011, 03:03 PM
  4. Show only rows where fielda < fieldb
    By Schon731 in forum Queries
    Replies: 6
    Last Post: 12-02-2010, 06:26 PM
  5. Replies: 3
    Last Post: 08-17-2010, 02: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