Solved

MS ACCESS 2013 How to creae a Line Chart from an ACCESS query

Posted on 2014-07-31
14
916 Views
Last Modified: 2014-08-05
Users have been using my MS ACCESS db to track their Performance Measures for over a year.
Now, they have enough periodic data on a given Measure (with corresponding Targets) to begin tracking trends for that Measure, and they want it displayed in their ACCESS program as a Line Chart, similar to what can be done in Excel.
0
Comment
Question by:willjx
  • 7
  • 7
14 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40233309
If you need a step by step list, ...then please post a basic sample of the data.
and also include a basic graphical example of the expected output (based on that data)

The manner in which the data is stored will determine how the chart is created.
0
 

Author Comment

by:willjx
ID: 40234959
Please refer to attached Excel file.
The data is on an SQL server.
However the report and Line Chart will be stored in the ACCESS DB.
--Hhsisi001-aduser--Bill.James-My-Docume
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40235201
Not sure what you uploaded there, but it is not an Excel file I can read...
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40235206
Just upload the file, ...do not rename it
0
 

Author Comment

by:willjx
ID: 40235298
Period Info Collected      Data      Target                  
Oct - Dec 2013                      78.00          81                                       
Jan - Mar 2014                      78.73          81      
Apr - Jun 2014                       80.26          81      


I did not rename it.  I just uploaded it. (again)   Above is the data --Cannot seem to paste in the Line Chart.
--Hhsisi001-aduser--Bill.James-My-Docume
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40235349
I don't know what you are uploading there , ...but I cannot open it, ...and why does it not have a standard Excel extension:  (.xls, .xlsx)
That does not look like a standard excel file name or exptension...???

If you open the link you posted directly:
http://filedb.experts-exchange.com/incoming/2014/08_w31/863963/--Hhsisi001-aduser--Bill.James-My-Docume
...can you open it as an Excel file?

How about just posting a screenshot of the data and the chart?
0
 

Author Comment

by:willjx
ID: 40239555
My work firewall will not let anything thru.
Can't you just give me a hint as to where to start.  It is a simple 3 data vs Target Line point graph?
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40239681
Create a new report
Open the report in design view
Insert a chart control
Select your table
Select the Period and Data fields
Select the line chart
Double-click "SumOfData" and change it to: None (the text will change to simply "Data")
Name the report/chart
Resize the chart object to fit the report design page limits
Open the report

Sample attached that you can experiment with.
Database23.mdb
0
 

Author Comment

by:willjx
ID: 40240163
Did 1 and 2
How do you:   "Insert a chart control"?
I inserted an unbound Control, but there is nothing on the 2013 menu that indicates "Chart".
0
 

Author Comment

by:willjx
ID: 40240191
You have a pair of wrenches on your Design tab that my DB does not show.
0
 

Author Comment

by:willjx
ID: 40240213
ok
I found the Graph Control
Selected the Period and Data fields, and
selected the line chart.
I  Double-click "SumOfData" and change it to: None (the text will change to simply "Data").

Named and fitted.

It displays" East and West" legend on side w/"Qtr 1-4" at bottom??, and even though Design shows a line chart, the  Report View just shows two dots in the middle of the screen.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 40240356
<It displays" East and West" legend on side w/"Qtr 1-4" at bottom??,>
...in what view?

Did you try this in the database I posted?
0
 

Author Closing Comment

by:willjx
ID: 40241710
Thank you for your patience.
I finally got it to work with my data.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 40241941
Great...

Yes, Access charts can be a bit daunting when you first are learning them.

But once you know the basics, ...it is fairly straightforward...

Remember, you can always create an Excel file with the linked data from Access, ...then create your chart in Excel...
(if that is easier for you)
...and you will have access to all of the new chart options in Excel...


;-)

JeffCoacman
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now