473,386 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Pivot chart from available data

Hi,

I want to plot a graph (Audiogram) for frequency (X axis) against
intensity (Y axis). Data for which will be sourced from an existing
table following frequency fields. (http://en.wikipedia.org/wiki/
Image:Tonaud_w_norm.jpg)
250Right, 500Right, 1000Right, 2000Right, 4000Right and 250Left,
500Left, 1000Left, 2000Left, 4000Left. Data under these fields will be
intensities in any number from 0dB to 120dB.
eg.

Client ID 250Right 500Right 1000Right ...
1 20 40 50 ....
2 30 90 80 ....
3 40 55 85 ....

and so on
Please suggest which data goes to series, category and data field? I
am very confused and unable to create this graph as I don't know which
data to drag on X axis. Every time I try this it gives Total values
for entire data. Also not sure if I am using the correct chart type. I
selected XY scatter so that I can create TWO different lines for Left
and Right ear which can be compared on the same graph.

Cheers, Matuag

Jun 24 '07 #1
1 1945
JHB
Hello Mataug.

It can be done on this way.

Make a query with the following SQL and save it named "GetData".

Replace "Table1" with the name of yours table.

SELECT "Right" as Side, Tabel1.Right250 as 250, Tabel1.Right500 as 500,
Tabel1.Right1000 as 1000, Tabel1.Right2000 as 2000, Tabel1.Right4000 as 4000

FROM Tabel1

WHERE (((Tabel1.ClientID)=[Input ClientId]))

union

SELECT "Left" as Side, Tabel1.Left250 as 250, Tabel1.Left500 as 500,
Tabel1.Left1000 as 1000, Tabel1.Left2000 as 2000, Tabel1.Left4000 as 4000

FROM Tabel1

WHERE (((Tabel1.ClientID)=[Input ClientId]));

Create a report and put a graph on it, set the graphs rowsource to:

SELECT GetData.Side, GetData.[250], GetData.[500], GetData.[1000],
GetData.[2000], GetData.[4000] FROM GetData GROUP BY GetData.Side,
GetData.[250], GetData.[500], GetData.[1000], GetData.[2000],
GetData.[4000];

Regards

Jørn


"Matuag" <ma****@gmail.comskrev i en meddelelse
news:11**********************@g37g2000prf.googlegr oups.com...
Hi,

I want to plot a graph (Audiogram) for frequency (X axis) against
intensity (Y axis). Data for which will be sourced from an existing
table following frequency fields. (http://en.wikipedia.org/wiki/
Image:Tonaud_w_norm.jpg)
250Right, 500Right, 1000Right, 2000Right, 4000Right and 250Left,
500Left, 1000Left, 2000Left, 4000Left. Data under these fields will be
intensities in any number from 0dB to 120dB.
eg.

Client ID 250Right 500Right 1000Right ...
1 20 40 50 ....
2 30 90 80 ....
3 40 55 85 ....

and so on
Please suggest which data goes to series, category and data field? I
am very confused and unable to create this graph as I don't know which
data to drag on X axis. Every time I try this it gives Total values
for entire data. Also not sure if I am using the correct chart type. I
selected XY scatter so that I can create TWO different lines for Left
and Right ear which can be compared on the same graph.

Cheers, Matuag

Jun 24 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Grey | last post by:
I have created a asp.net form for user to input data. After input the data, user need to click a button to export the input data to excel for data analysis with excel pivot table function. is it...
3
by: GoalieGW | last post by:
Does anyone know how to create a Pivot Chart at run-time? I have a database of meter readings that currently requires me to have 200 forms created so the user can enter date criteria and have a...
1
by: keliie | last post by:
Hello, I've created a form that contains a single unbound combo box and two subforms. The two subforms display the results of a query (driven by the combo box selection) in both tabular and...
1
by: mike11d11 | last post by:
I was wondering if it was possible to export information from a pivot chart when double clicking on the item I want. For example I have a pivot chart with Four items in the legend and they are...
1
by: devagupt | last post by:
i have a form called get downtime data. WHen information is entered into it and the button "get downtime data" pressed , it displays the results of a query. WHen i view the query in pivot chart view...
1
by: thomas.wordsworth | last post by:
This is a bit of a two-part question. 1. Is there a way to control what filters are placed on a pivot chart via vba. I can easily change the underlying query and refresh pivot chart but it's...
0
by: Skywalker103 | last post by:
Hello all I have realy big problem. I have txt file linked as linked table to my mdb database. This table can contain aproximatelly 1 000 000 records (teoretically), but real count is 100-500...
1
by: Skywalker103 | last post by:
I have realy big problem. I have txt file linked as linked table to my mdb database. This table can contain aproximatelly 1 000 000 records (teoretically), but real count is 100-500 000 records. I...
1
by: claudiaidm | last post by:
I'll describe what I wish to accomplish: 1. I create a new workbook in Excel. 2. I click on Data menu, then I choose Pivot Table and Pivot Chart Report 3. I select External Data Source, Next....
1
by: CoreyReynolds | last post by:
I can't find any information on this. If I have an existing query and I want to dump it into a page on a spread sheet and modify it as a pivot table all in VBA, can I do that? I only have the...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.