Results 1 to 9 of 9
  1. #1
    Trek9635 is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Jan 2015
    Location
    NYC
    Posts
    7

    Exclamation Grouped Charts Issue

    Hello everyone, my first post here. I am pretty intermediate with access but generally only use it for queries to create reports in excel. This is my first time working with charts inside of an access report. I have a single table with various fields I would like to create numerous line charts. I created a group by the data field I would like the various reports created by and created the chart in the group header to no avail. I only get one blank chart with only the title, not the duplicated charts with data.

    Here is a sample of the table fields. I am trying to get various line charts showing average days for each month by Area

    Ex.
    AREA Month Year Financial1 Financial2 Financial3 Financial4 Average Days


    PPS 01 2014 xxx xxx xxx xxx 8
    PPS 02 2014 xxx xxx xxx xxx 6.5
    PPS 03 2014 xxx xxx xxx xxx 11
    XYZ 01 2014 xxx xxx xxx xxx 9
    XYZ 02 2014 xxx xxx xxx xxx 13
    QRS 01 2014 xxx xxx xxx xxx 13

    I have both the master/child link set to area.
    TRANSFORM Sum[Average Days] as SUM[Average Days] SELECT [Month] FROM [Sheet1] GROUP BY [Month] Pivot [AREA];

    Any help or insight would be great as I not a pro at these charts. Just not sure why it is not working!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Did you use Query Builder to construct SQL? Why doesn't the posted SQL have parens for the Sum() function? And the alias field name uses [] in wrong place.

    TRANSFORM Sum([Average Days]) AS [SUMAverage Days] SELECT [Month] FROM [Sheet1] GROUP BY [Month] Pivot [AREA];

    Month and Year are reserved words. Should not use reserved words as names. http://allenbrowne.com/AppIssueBadWord.html
    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
    Trek9635 is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Jan 2015
    Location
    NYC
    Posts
    7
    No I just retyped what it showed in access. I used the chart wizard. The [] in the wrong place is likely just me typing it wrong. Where do you believe the [] should be?

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    As shown in my post.

    Is this a multi-year db? If so, should probably include the Year in the grouping.
    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.

  5. #5
    Trek9635 is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Jan 2015
    Location
    NYC
    Posts
    7
    Nope, this is only a 2014 table. Thank you. Should the chart be under the grouped header?

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I don't know your db so can't really answer that. I have a report with graph in group section and it works.

    None of my graphs use SQL statement generated by the graph wizard and none are a CROSSTAB query.

    I analyze graph issues best when I can work with db and data. If you want to provide, follow instructions at bottom of my post.
    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.

  7. #7
    Trek9635 is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Jan 2015
    Location
    NYC
    Posts
    7
    I will try your suggestion tomorrow and let you know. I appreciate the help. I do know that If I enter txt before the master key the parameter prompt pops up and if I enter the AREA the chart populates perfectly, but again only for that one area, not the 6 different once I am looking for.

  8. #8
    Trek9635 is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Jan 2015
    Location
    NYC
    Posts
    7
    Even with the source exactly how you specified the charts are still blank. The database is just a simple excel table I exported in. 119 rows.

  9. #9
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    As suggested, provide db.
    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. Grouped Options Query
    By Jammer in forum Sample Databases
    Replies: 6
    Last Post: 10-29-2014, 01:19 PM
  2. Exclude IDs in grouped query
    By Ruegen in forum Queries
    Replies: 2
    Last Post: 09-02-2014, 09:27 PM
  3. Sum a Column grouped by Count
    By rlbordonaro in forum Queries
    Replies: 1
    Last Post: 01-16-2013, 10:38 AM
  4. Grouped Report with Charts
    By FL_Boy in forum Reports
    Replies: 2
    Last Post: 12-21-2011, 09:27 PM
  5. Grouped Tables
    By tmcrouse in forum Queries
    Replies: 0
    Last Post: 09-24-2009, 07:10 AM

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