Results 1 to 2 of 2
  1. #1
    jvlajcic is offline Novice
    Windows XP Access 2007
    Join Date
    Dec 2011
    Posts
    3

    Question Query with several groups

    Ok, so I have a number of servers in a database that I want to sort by the departments that use them. There is a Business Function field (contains things like "Finance" and "Marketing" and a Business Service field (contains things like "Vendor Management" and "CRM"). The servers come in a number of OS flavors (Windows, Linux, etc.) and I want to create a master query that has servers grouped by Business Function and Business Service and then gives me a count of each server by each type of OS.



    I've created a number of sub-queries for each OS: the queries group by business function and business service and then have WHERE statements for the OS values ("*Windows*", etc.) and then a count for the OS field. There is one query for each OS and then one master query that pulls together all the counts for OS's. It looks ok but I keep getting way more values then I should have. I'm not sure what the problem is, can anyone help?

    I'd like to put the master query into a pivot table and get totals for all the Business Functions and Business Services.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    Post your SQL and other relevant factors.

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

Similar Threads

  1. Report Groups and Sort
    By cbrsix in forum Reports
    Replies: 4
    Last Post: 11-18-2011, 02:06 PM
  2. Sum by groups
    By Lorlai in forum Access
    Replies: 1
    Last Post: 07-21-2011, 11:42 AM
  3. DSum in Query - Adding groups
    By Huddle in forum Queries
    Replies: 1
    Last Post: 02-04-2011, 07:53 PM
  4. Query showing averages for groups
    By AnthonyTesta in forum Queries
    Replies: 1
    Last Post: 02-03-2010, 09:04 PM
  5. using date for groups
    By antcox2004 in forum Reports
    Replies: 3
    Last Post: 01-28-2006, 07:44 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