A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

All I want for Christmas is a Line Chart!



 
 
Thread Tools Display Modes
  #1  
Old December 23rd, 2009, 02:51 PM posted to microsoft.public.access.reports
*Glen*[_2_]
external usenet poster
 
Posts: 46
Default All I want for Christmas is a Line Chart!

I need to create a line chart. I have a query that displays about 100 rows
of data with the following fields:

Staff_section Q1_10 Q2_10 Q3_10 Q4_10 Q1_11 Q2_11 Q3_11 Q4_11

In a report, I grouped the staff_section into a header in order to sum
values for Q1_10, Q2_10, etc. I want to plot these summed values on a line
chart with each quarter on the x axis and values on the y axis. If the chart
contains only one staff section, there will be only one line. If it contains
multiple lines, I can make a different color for each staff section. For the
report I am currently working with, the query has criteria to show only one
staff section.

Any help is appreciated. I am fairly good with Access, but not proficient
in SQL or code. Thanks for your time!

Glen
  #2  
Old December 23rd, 2009, 03:01 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default All I want for Christmas is a Line Chart!

Did you sit on Santa's lap (run the chart wizard)? If not, I would start by
creating a query that displays the exact values you want on your chart. Then
use the chart wizard to add the chart control where ever you want it on the
report. Typically the wizard will mangle your query so you have to go back in
and change the Row Source.

--
Duane Hookom
Microsoft Access MVP


"*Glen*" wrote:

I need to create a line chart. I have a query that displays about 100 rows
of data with the following fields:

Staff_section Q1_10 Q2_10 Q3_10 Q4_10 Q1_11 Q2_11 Q3_11 Q4_11

In a report, I grouped the staff_section into a header in order to sum
values for Q1_10, Q2_10, etc. I want to plot these summed values on a line
chart with each quarter on the x axis and values on the y axis. If the chart
contains only one staff section, there will be only one line. If it contains
multiple lines, I can make a different color for each staff section. For the
report I am currently working with, the query has criteria to show only one
staff section.

Any help is appreciated. I am fairly good with Access, but not proficient
in SQL or code. Thanks for your time!

Glen

  #3  
Old December 23rd, 2009, 03:58 PM posted to microsoft.public.access.reports
*Glen*[_2_]
external usenet poster
 
Posts: 46
Default All I want for Christmas is a Line Chart!

We are very close Duane! I almost have what I need, but I ask you for just a
little more help

I was able to create a query that shows data as below:


Staff_section Q1_10 Q2_10 Q3_10 Q4_10 Q1_11 Q2_11 Q3_11 Q4_11

Operations 144 173 192 205 217 252
325 346


When I use the chart wizard, I am only able to select up to 6 fields of
data. As you can see from above, I have more than 6. Please help!

Glen



"Duane Hookom" wrote:

Did you sit on Santa's lap (run the chart wizard)? If not, I would start by
creating a query that displays the exact values you want on your chart. Then
use the chart wizard to add the chart control where ever you want it on the
report. Typically the wizard will mangle your query so you have to go back in
and change the Row Source.

--
Duane Hookom
Microsoft Access MVP


"*Glen*" wrote:

I need to create a line chart. I have a query that displays about 100 rows
of data with the following fields:

Staff_section Q1_10 Q2_10 Q3_10 Q4_10 Q1_11 Q2_11 Q3_11 Q4_11

In a report, I grouped the staff_section into a header in order to sum
values for Q1_10, Q2_10, etc. I want to plot these summed values on a line
chart with each quarter on the x axis and values on the y axis. If the chart
contains only one staff section, there will be only one line. If it contains
multiple lines, I can make a different color for each staff section. For the
report I am currently working with, the query has criteria to show only one
staff section.

Any help is appreciated. I am fairly good with Access, but not proficient
in SQL or code. Thanks for your time!

Glen

  #4  
Old December 23rd, 2009, 05:59 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default All I want for Christmas is a Line Chart!

That's what I mean when I suggest the Wizard mucks things up. You just select
6 and then go back in after the wizard is done and set the Row Source
property to what you want.

Keep in mind your data is in an un-normalized format (across rather than
down) so you may need to set a property in the Chart Design view to across vs
down or something like that.

Ho, Ho, Ho!
--
Duane Hookom
Microsoft Access MVP


"*Glen*" wrote:

We are very close Duane! I almost have what I need, but I ask you for just a
little more help

I was able to create a query that shows data as below:


Staff_section Q1_10 Q2_10 Q3_10 Q4_10 Q1_11 Q2_11 Q3_11 Q4_11

Operations 144 173 192 205 217 252
325 346


When I use the chart wizard, I am only able to select up to 6 fields of
data. As you can see from above, I have more than 6. Please help!

Glen



"Duane Hookom" wrote:

Did you sit on Santa's lap (run the chart wizard)? If not, I would start by
creating a query that displays the exact values you want on your chart. Then
use the chart wizard to add the chart control where ever you want it on the
report. Typically the wizard will mangle your query so you have to go back in
and change the Row Source.

--
Duane Hookom
Microsoft Access MVP


"*Glen*" wrote:

I need to create a line chart. I have a query that displays about 100 rows
of data with the following fields:

Staff_section Q1_10 Q2_10 Q3_10 Q4_10 Q1_11 Q2_11 Q3_11 Q4_11

In a report, I grouped the staff_section into a header in order to sum
values for Q1_10, Q2_10, etc. I want to plot these summed values on a line
chart with each quarter on the x axis and values on the y axis. If the chart
contains only one staff section, there will be only one line. If it contains
multiple lines, I can make a different color for each staff section. For the
report I am currently working with, the query has criteria to show only one
staff section.

Any help is appreciated. I am fairly good with Access, but not proficient
in SQL or code. Thanks for your time!

Glen

  #5  
Old December 23rd, 2009, 06:45 PM posted to microsoft.public.access.reports
*Glen*[_2_]
external usenet poster
 
Posts: 46
Default All I want for Christmas is a Line Chart!

Ok...

The good news: I have a line chart in the format I want with the correct
data.

The bad news: When I add another row in the Row Source properties box in
report design view and view the report in report view, the chart becomes a
default display chart of some sort that has nothing to do with my data. It
seems that once I exceed 6 data fields in the row source, I cannot get what I
want. The chart wizard also mentions this. What did I do to deserve this
Duane? I am so close! Can you carry me home???

Glen



"Duane Hookom" wrote:

That's what I mean when I suggest the Wizard mucks things up. You just select
6 and then go back in after the wizard is done and set the Row Source
property to what you want.

Keep in mind your data is in an un-normalized format (across rather than
down) so you may need to set a property in the Chart Design view to across vs
down or something like that.

Ho, Ho, Ho!
--
Duane Hookom
Microsoft Access MVP


"*Glen*" wrote:

We are very close Duane! I almost have what I need, but I ask you for just a
little more help

I was able to create a query that shows data as below:


Staff_section Q1_10 Q2_10 Q3_10 Q4_10 Q1_11 Q2_11 Q3_11 Q4_11

Operations 144 173 192 205 217 252
325 346


When I use the chart wizard, I am only able to select up to 6 fields of
data. As you can see from above, I have more than 6. Please help!

Glen



"Duane Hookom" wrote:

Did you sit on Santa's lap (run the chart wizard)? If not, I would start by
creating a query that displays the exact values you want on your chart. Then
use the chart wizard to add the chart control where ever you want it on the
report. Typically the wizard will mangle your query so you have to go back in
and change the Row Source.

--
Duane Hookom
Microsoft Access MVP


"*Glen*" wrote:

I need to create a line chart. I have a query that displays about 100 rows
of data with the following fields:

Staff_section Q1_10 Q2_10 Q3_10 Q4_10 Q1_11 Q2_11 Q3_11 Q4_11

In a report, I grouped the staff_section into a header in order to sum
values for Q1_10, Q2_10, etc. I want to plot these summed values on a line
chart with each quarter on the x axis and values on the y axis. If the chart
contains only one staff section, there will be only one line. If it contains
multiple lines, I can make a different color for each staff section. For the
report I am currently working with, the query has criteria to show only one
staff section.

Any help is appreciated. I am fairly good with Access, but not proficient
in SQL or code. Thanks for your time!

Glen

  #6  
Old December 23rd, 2009, 08:27 PM posted to microsoft.public.access.reports
*Glen*[_2_]
external usenet poster
 
Posts: 46
Default All I want for Christmas is a Line Chart!

Woohoo!!!!

I figured it out!!!! I am so happy now!! I must be a real dork because I
get so excited when this stuff actually works!!! Thanks so much Duane!!!
Merry Christmas!!!

Glen

"Duane Hookom" wrote:

That's what I mean when I suggest the Wizard mucks things up. You just select
6 and then go back in after the wizard is done and set the Row Source
property to what you want.

Keep in mind your data is in an un-normalized format (across rather than
down) so you may need to set a property in the Chart Design view to across vs
down or something like that.

Ho, Ho, Ho!
--
Duane Hookom
Microsoft Access MVP


"*Glen*" wrote:

We are very close Duane! I almost have what I need, but I ask you for just a
little more help

I was able to create a query that shows data as below:


Staff_section Q1_10 Q2_10 Q3_10 Q4_10 Q1_11 Q2_11 Q3_11 Q4_11

Operations 144 173 192 205 217 252
325 346


When I use the chart wizard, I am only able to select up to 6 fields of
data. As you can see from above, I have more than 6. Please help!

Glen



"Duane Hookom" wrote:

Did you sit on Santa's lap (run the chart wizard)? If not, I would start by
creating a query that displays the exact values you want on your chart. Then
use the chart wizard to add the chart control where ever you want it on the
report. Typically the wizard will mangle your query so you have to go back in
and change the Row Source.

--
Duane Hookom
Microsoft Access MVP


"*Glen*" wrote:

I need to create a line chart. I have a query that displays about 100 rows
of data with the following fields:

Staff_section Q1_10 Q2_10 Q3_10 Q4_10 Q1_11 Q2_11 Q3_11 Q4_11

In a report, I grouped the staff_section into a header in order to sum
values for Q1_10, Q2_10, etc. I want to plot these summed values on a line
chart with each quarter on the x axis and values on the y axis. If the chart
contains only one staff section, there will be only one line. If it contains
multiple lines, I can make a different color for each staff section. For the
report I am currently working with, the query has criteria to show only one
staff section.

Any help is appreciated. I am fairly good with Access, but not proficient
in SQL or code. Thanks for your time!

Glen

  #7  
Old December 23rd, 2009, 10:48 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default All I want for Christmas is a Line Chart!

*Glen* wrote:

Woohoo!!!!

I figured it out!!!! I am so happy now!! I must be a real dork because I
get so excited when this stuff actually works!!! Thanks so much Duane!!!
Merry Christmas!!!



I know what you mean, but that's more typical of a geek, not
a dork ;-)

Merry Christmas to you too.

--
Marsh
MVP [MS Access]
  #8  
Old December 24th, 2009, 04:21 AM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default All I want for Christmas is a Line Chart!

You are experiencing a "progasm" ;-)
--
Duane Hookom
Microsoft Access MVP


"Marshall Barton" wrote:

*Glen* wrote:

Woohoo!!!!

I figured it out!!!! I am so happy now!! I must be a real dork because I
get so excited when this stuff actually works!!! Thanks so much Duane!!!
Merry Christmas!!!



I know what you mean, but that's more typical of a geek, not
a dork ;-)

Merry Christmas to you too.

--
Marsh
MVP [MS Access]
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.