Results 1 to 3 of 3
  1. #1
    TimC is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    34

    Trend Analysis

    I have a table that includes several years’ worth of injury data. See example below.



    Location
    Cause 1
    Cause 2
    Building A
    Cut/Punc/Scrp
    Power Hand Tool
    Building A
    Fall/Slip
    Into Openings
    Building A
    Fall/Slip
    Into Openings
    Building A
    Fall/Slip
    On Ice or Snow
    Building B
    Fall/Slip
    On Ice or Snow
    Building C
    Fall/Slip
    On Ice or Snow
    Building C
    Fall/Slip
    On Ice or Snow
    Building C
    Fall/Slip
    On Ice or Snow

    Is there an easy way to count the total # of incidents by work location and remove the duplicates? See example below. Any assistance would be appreciated. Thanks.

    Location
    Incidents
    Cause 1
    Cause 2
    Building A
    1
    Cut/Pun/Scrp
    Power Hand Tool
    Building A
    2
    Fall/Slip
    Into Openings
    Building A
    2
    Fall/Slip
    On Ice or Snow
    Building B
    1
    Fall/Slip
    On Ice or Snow
    Building C
    3
    Fall/Slip
    On Ice or Snow

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,953
    Try an aggregate (GROUP BY) Totals query. Or build a report and use Grouping & Sorting features with aggregate calcs in group footer section. The report will allow display of detail records as well as summary calcs. This is basic Access functionality.
    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.

  3. #3
    TimC is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    34
    Thank you!

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

Similar Threads

  1. Table Analysis
    By Sheba in forum Forms
    Replies: 28
    Last Post: 11-25-2014, 03:26 PM
  2. Tricky Analysis??
    By stumped in forum Queries
    Replies: 2
    Last Post: 09-13-2012, 01:59 AM
  3. Monthly Trend Query/Report
    By bmschaeffer in forum Queries
    Replies: 3
    Last Post: 10-19-2011, 03:29 PM
  4. Query for Forecast Trend
    By cacosta35 in forum Access
    Replies: 0
    Last Post: 07-07-2011, 12:28 PM
  5. Need Help with Queries-Trade Analysis
    By nybanshee in forum Queries
    Replies: 0
    Last Post: 03-08-2008, 11:50 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