I don't see that query. This is what I have in the RowSource:
TRANSFORM Sum([Heads]) AS [SumOfHeads] SELECT [Period], 24 As [Man Level]
FROM [Rept#002_Table] GROUP BY [Period], 24 PIVOT [Program];
This is what is in Rept#002_Table:
Program Heads Period
CMIS 0.29 1/14/2007
CMIS 0.29 2/14/2007
CMIS 0.18 3/14/2007
CMIS 0.14 4/14/2007
CMIS 0 5/14/2007
Crew Exploration Vehicle NF 6/14/2006
Crew Exploration Vehicle NF 7/14/2006
Crew Exploration Vehicle NF 8/14/2006
Crew Exploration Vehicle NF 9/14/2006
Crew Exploration Vehicle NF 10/14/2006
Crew Exploration Vehicle NF 1 11/14/2006
Crew Exploration Vehicle NF 1 12/14/2006
Crew Exploration Vehicle NF 2 1/14/2007
Crew Exploration Vehicle NF 2 2/14/2007
Crew Exploration Vehicle NF 2 3/14/2007
Crew Exploration Vehicle NF 2 4/14/2007
Crew Exploration Vehicle NF 2 5/14/2007
Firmware Test Bed 2.3 6/14/2006
Firmware Test Bed 2.3 7/14/2006
Firmware Test Bed 2.3 8/14/2006
Firmware Test Bed 2.3 9/14/2006
What I see in the graph is that it made every period (the date month by
month) 24 Heads (this is my manpower level). So the graph has a baseline
starting at 24 heads and all of the other data is stacked above it.
Remember heads is vertical and period is horizontal.
So its looks like a flat 24 heads for 12 months (that the spand of my
period) as the first layer. The next program which has a head could of 1
is
on top of it, and each program is layered on top.
Any Suggestions?
Thanks,
Gary
Duane Hookom said:
I really don't know what your data looks like. The query I suggested
should
have created a new column in your query (did it?) that could be graphed.
--
Duane Hookom
MS Access MVP
I just noticed that it added 24 man level to graph which increased my
over
all man level by 24. Not quite what I needed. I needed a line going
across
at the 24 man level without increasing the over man level.
Thanks,
Gary
:
TRANSFORM Sum([Heads]) AS [SumOfHeads]
SELECT [Period] , 24 As [Man level]
FROM [Rept#001_Table]
GROUP BY [Period], 24
PIVOT [Program];
--
Duane Hookom
MS Access MVP
Any suggestions on adding that extra column to my Rowsource??
This is my RowSource:
TRANSFORM Sum([Heads]) AS [SumOfHeads] SELECT [Period] FROM
[Rept#001_Table]
GROUP BY [Period] PIVOT [Program];
Thank You,
Gary
:
You might be able to add another column to your Row Source like:
Field: Man Level: 24
--
Duane Hookom
MS Access MVP
I am able to add a graph that produces a chart for me on a report
with
no
problem.
The type of graph I am using is line a multiple layer (with each
layer)
indicating a project manpower requirement. The vertical axis if
the
total
manpower. I like to add a horizontal line (i.e. 24 man level)
across
the
grahic to show the maximum manpower available.
How can I do this. I have seen vba code adding Trendlines to
the
graph
object.
Thanks,
Gary