Results 1 to 7 of 7
  1. #1
    Georgi is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2012
    Posts
    17

    MS Access Chart

    Good evening everybody,



    I have built an access database for training purposes, I the matrix I have created a combo box to see the accomplishement i.e. [Required], [Not Required] and [Completed], how can I create chart shows the sum of ([Completed]+[Not Required])/sum of ([Required], [Not Required] and [Completed]) in order the get the percentage of the completed sessions. Is there any idea how to do it with Access 2003? Please note I have an excellent skills with Excel I just start working with Access.

    Please see below pictures.

    Thank you in advance.

    Click image for larger version. 

Name:	Picture1.png 
Views:	6 
Size:	117.2 KB 
ID:	9960

    Click image for larger version. 

Name:	Picture2.png 
Views:	7 
Size:	44.6 KB 
ID:	9961

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    The data example you show does not fit the graph example. Need sample of raw dataset. If you want to provide db for analysis, 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.

  3. #3
    Georgi is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2012
    Posts
    17
    Quote Originally Posted by June7 View Post
    The data example you show does not fit the graph example. Need sample of raw dataset. If you want to provide db for analysis, follow instructions at bottom of my post.
    That's right, please see attached mdb. file, the problem is I made the calculation on my own way to get it correctly in the report, just trying to use excel way however, what I need is to get the chart shows the total percentage of the [completed] field + the [not required] field.

    Thanks again,
    Attached Files Attached Files

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Why divide by Sum(Required)?

    See using this query as datasource for further manipulation of data for graphs:
    SELECT Course, Sum(IIf([Requirement]="Completed" Or [Requirement]="Not Required",1,0)) AS CompNR, Sum(IIf([Requirement]="Required",1,0)) AS Req, Count(ID) AS CountOfID
    FROM [Training Matrix Subform]
    GROUP BY Course;
    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
    Georgi is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2012
    Posts
    17
    Quote Originally Posted by June7 View Post
    Why divide by Sum(Required)?

    See using this query as datasource for further manipulation of data for graphs:
    SELECT Course, Sum(IIf([Requirement]="Completed" Or [Requirement]="Not Required",1,0)) AS CompNR, Sum(IIf([Requirement]="Required",1,0)) AS Req, Count(ID) AS CountOfID
    FROM [Training Matrix Subform]
    GROUP BY Course;
    Good evening again,

    Thank you for your quick response, please see attached excel worksheet, it shows exactly what I am looking for, excuse me I am a beginner with access probably I did not understand you properly.

    Have a look please,
    Attached Files Attached Files

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Easier to show than explain. Review attached file.
    Attached Files Attached Files
    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
    Georgi is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Oct 2012
    Posts
    17
    Quote Originally Posted by June7 View Post
    Easier to show than explain. Review attached file.
    Good morning, you just brilliant! Thanks a lot that's what I was looking for.

    Have a good day,

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

Similar Threads

  1. Pie chart in Access 2007
    By specsol in forum Forms
    Replies: 2
    Last Post: 09-13-2012, 12:54 AM
  2. Using A Chart Web Part In An Access Web DB
    By nrgins in forum SharePoint
    Replies: 1
    Last Post: 07-31-2012, 05:14 AM
  3. Create a Column Chart in Access
    By j2curtis64 in forum Access
    Replies: 1
    Last Post: 06-04-2012, 05:32 PM
  4. Line chart in access report
    By drp in forum Reports
    Replies: 2
    Last Post: 11-29-2011, 09:37 AM
  5. Replies: 2
    Last Post: 07-12-2010, 05:39 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