Results 1 to 2 of 2
  1. #1
    DanRob is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2014
    Posts
    1

    Quarterly Satisfaction Report

    Ok, I'm an Access noob here looking for help.

    I have a table that we have been using to track responses we get on patient satisfaction cards. These cards get dropped into comment boxes and have 7 multiple choice questions and an area for comments.



    The table has a table like this:
    ID Location Date Recvd Site Q1 Q2 Q3 Q4 Q5 Q6 Q7 Comments
    1 box 1 1/23/2013 main Yes, Always Yes, Definitely Yes, Somewhat No Yes, Sometimes Excellent 5 blah
    2 box 2 12/14/2011 clinic 1 No Yes, Somewhat Yes, Definitely Yes, Always No Poor 7 blah blah

    How can I generate a report showing a graph of the count of each response per quarter?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    What kind of graph - bar, pie, point? All quarters on one graph? Grouped by location or site?

    By count of response, you mean how many "Always", how many "Definitely", how many "No", etc?

    Query1
    SELECT Location, Site, Year([DateRecvd]) & Choose(Month([DateRecvd]),1,1,1,2,2,2,3,3,3,4,4,4) AS YrQtr, Q1 AS Data FROM Table1
    UNION SELECT Location, Site, Year([DateRecvd]) & Choose(Month([DateRecvd]),1,1,1,2,2,2,3,3,3,4,4,4), Q2 FROM Table1
    UNION SELECT Location, Site, Year([DateRecvd]) & Choose(Month([DateRecvd]),1,1,1,2,2,2,3,3,3,4,4,4), Q3 FROM Table1
    UNION SELECT Location, Site, Year([DateRecvd]) & Choose(Month([DateRecvd]),1,1,1,2,2,2,3,3,3,4,4,4), Q4 FROM Table1
    UNION SELECT Location, Site, Year([DateRecvd]) & Choose(Month([DateRecvd]),1,1,1,2,2,2,3,3,3,4,4,4), Q5 FROM Table1
    UNION SELECT Location, Site, Year([DateRecvd]) & Choose(Month([DateRecvd]),1,1,1,2,2,2,3,3,3,4,4,4), Q6 FROM Table1
    UNION SELECT Location, Site, Year([DateRecvd]) & Choose(Month([DateRecvd]),1,1,1,2,2,2,3,3,3,4,4,4), Q7 FROM Table1;

    Query2 - use as RowSource for bar graph
    TRANSFORM Count(Query1.Site) AS CountOfSite
    SELECT Query1.YrQtr
    FROM Query1
    GROUP BY Query1.YrQtr
    PIVOT Query1.Data;
    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. Query to calculate quarterly growth rate.
    By gromit1 in forum Queries
    Replies: 15
    Last Post: 03-07-2013, 04:00 PM
  2. quarterly calculation
    By jamo in forum Queries
    Replies: 7
    Last Post: 11-20-2012, 06:59 PM
  3. Replies: 1
    Last Post: 06-22-2011, 07:55 PM
  4. quarterly, excludes weekends and holidays
    By madagaluna in forum Queries
    Replies: 2
    Last Post: 04-01-2011, 12:56 PM
  5. Quarterly Amounts
    By Brian62 in forum Queries
    Replies: 9
    Last Post: 10-16-2009, 02:18 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