PC Review


Reply
Thread Tools Rate Thread

Access chart that doesn't get transformed by the Wizard!

 
 
Renster
Guest
Posts: n/a
 
      25th Jan 2007
Folks,

I'm trying to add a line graph chart to a form that lists "run date"
along the x axis, "value" on the y axis, and the actual line of the
graph is the metric being tracked from my database. For added clarity,
the label is cross referenced to another table, giving me the following
query to use as a basis for the chart:

SELECT Release.Release_Metric1, Run.Run_Metric1, Run.Run_Date
FROM Release INNER JOIN Run ON Release.Release_ID = Run.Run_Release;

To explain a little, the Release table holds the "names" of metrics
applicable for a particular release ID, and the Run table holds the
actual metric values.

Anyway, when i go through the insert chart wizard, pointing it to the
above query, it is invariably turned into the following rowsource for
the chart:

TRANSFORM Count([Run_Metric1]) AS [CountOfRun_Metric1] SELECT
(Format([Run_Date],"MMM 'YY")) FROM [GraphQuery] GROUP BY
(Year([Run_Date])*12 + Month([Run_Date])-1),(Format([Run_Date],"MMM
'YY")) PIVOT [Release_Metric1];

The result being a single horizontal line, value "1", since for all
release / run combinations, there is of course, only one value for
"Metric1". I want the actual value stored in "metric1" for that
particular "run".

Muchos Gracias!

Steve

 
Reply With Quote
 
 
 
 
Renster
Guest
Posts: n/a
 
      25th Jan 2007
Ok, Seems I found it myself... simply change "Count" to "Sum" .....
Duh!


On Jan 25, 10:20 am, "Renster" <steveh...@hotmail.com> wrote:
> Folks,
>
> I'm trying to add a line graph chart to a form that lists "run date"
> along the x axis, "value" on the y axis, and the actual line of the
> graph is the metric being tracked from my database. For added clarity,
> the label is cross referenced to another table, giving me the following
> query to use as a basis for the chart:
>
> SELECT Release.Release_Metric1, Run.Run_Metric1, Run.Run_Date
> FROM Release INNER JOIN Run ON Release.Release_ID = Run.Run_Release;
>
> To explain a little, the Release table holds the "names" of metrics
> applicable for a particular release ID, and the Run table holds the
> actual metric values.
>
> Anyway, when i go through the insert chart wizard, pointing it to the
> above query, it is invariably turned into the following rowsource for
> the chart:
>
> TRANSFORM Count([Run_Metric1]) AS [CountOfRun_Metric1] SELECT
> (Format([Run_Date],"MMM 'YY")) FROM [GraphQuery] GROUP BY
> (Year([Run_Date])*12 + Month([Run_Date])-1),(Format([Run_Date],"MMM
> 'YY")) PIVOT [Release_Metric1];
>
> The result being a single horizontal line, value "1", since for all
> release / run combinations, there is of course, only one value for
> "Metric1". I want the actual value stored in "metric1" for that
> particular "run".
>
> Muchos Gracias!
>
> Steve


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chart by Quarter Using the Chart Wizard in MS Access Report SAP2 Microsoft Access 1 19th Jun 2009 04:13 PM
Access Chart Wizard =?Utf-8?B?cnN0YW5maWxs?= Microsoft Access Reports 3 13th Feb 2007 06:16 PM
Access Chart Wizard =?Utf-8?B?cnN0YW5maWxs?= Microsoft Access Reports 1 13th Feb 2007 05:16 PM
Chart Wizard in Access =?Utf-8?B?QW5uaWU=?= Microsoft Access Reports 1 23rd Nov 2006 10:08 AM
how do i access the chart wizard =?Utf-8?B?Yl9lYXp5?= Microsoft Excel Misc 3 3rd Nov 2004 01:17 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:11 PM.