Solved

How to expand a chart to include 5 fields, not just 4

Posted on 2014-01-09
5
224 Views
Last Modified: 2014-01-16
From a query containing a Household ID and 5 quarterly values (Beginning of Year, End of 1st Quarter, End of 2nd Quarter, 3rd Quarter, End of Year), I would like to display these 5 values in a bar chart.  In the Chart Wizard, I am limited to "You can select just 6 fields to use in your chart".  So in placing the fields on the chart, I have the HHID in the Axis window, and the five value fields in the Data window, nothing in the Series window.  I link the Report and Chart with the HHID field.  I then name the chart, and choose no legend and click Finish.

Access displays 5 bars on the chart, but only 4 columns in the associated datasheet.  When I select Chart Object Edit, it only shows a datasheet containing 4 values, and a chart with 4 bars to edit.  In the print preview, there are actually 5 bars, but only 4 can be edited, and the 5th is left in its rough form.  Is this an absolute limitation in Access 2007, or is there a way to extend its capability to 5 bars?

I suppose the 6 field limit includes one for the Legend, which I don't use.  This leaves one for the Axis, and 4 Data Values.
0
Comment
Question by:David_W_R
  • 3
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
edslee earned 500 total points
ID: 39770186
Good Evening!

I am not an expert, but I deal with this problem alot. The limitation is with the wizard, not with Access. You can indeed have more than 4 fields in a chart.

This is how I do it:
1) Use the chart Wizard to create your chart as close to how you want it as you can, in this case, select 4 of the 5 fields.
2) In design view of the report, go to the properties of the chart (rt click the chart and select properties), go to the data tab, click on the "row source" line, and then click "..." for query builder.
3) You will now see the query behind the chart. I think of this as what generates the spreadsheet that feeds the chart. You should see your 4 fields. Pull down that 5th field that you are wanting.
4) close the query builder and accept the changes.
5) Run the report with the chart to see if it worked.

I am thinking of Access 2010 as I type but the same solution was possible in 2007,...just minor differences in mouse click locations.

I hope that helps.

Repeat Disclaimer: I'm not an expert nor did I go to school for this. I just happened to learn some tough lessons over the past few years.

Ed.
0
 

Author Comment

by:David_W_R
ID: 39783342
Thanks, Ed for the input.
However, everything I try, including editing the Row Source property, results in 5 columns, but ONLY 4 can be edited!   Any further suggestions?
0
 
LVL 1

Expert Comment

by:edslee
ID: 39783440
When you say "Only 4 can be edited", are you talking about the chart or the query columns? Do you want to post a demo file?
0
 

Author Closing Comment

by:David_W_R
ID: 39785183
This is apparently the only solution, however Access 2007 is so clunky in the chart department, that I don't expect to be able to perform anything near what Excel can do.

Thanks again for the suggestion!
0
 
LVL 1

Expert Comment

by:edslee
ID: 39785244
I actually find the charting function in MS Access to be quite powerful. If you woudl like to post a demo, I can see if I can make the adjustment for you.
0

Featured Post

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.

Question has a verified solution.

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

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

773 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