473,396 Members | 2,052 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,396 software developers and data experts.

How to construct a query for my pivot chart in access?

374 256MB
I cant figure out how to construct a query for my pivot chart in access.

I basically have the following table:

Expand|Select|Wrap|Line Numbers
  1. tblCorrective
  2. CorrectiveLinkID - Number - FK
  3. CorrectiveActionID - Autonumber -PK
  4. CorrectiveStartDate - Date
  5. CorrectiveEndDate - Date
  6. CorrectiveActualEndDate - Date
  7. CorrectiveEnteredDate - Date
  8.  
The above table is used to basically monitor corrective actions that are being sent out.

I wanted to produce a pivot chart graph to display the number of corrections to start, corrections to end, corrections that actually ended and corrections entered per month by taking the short date values entered and formatting them as say "Jan - 2011" etc.

My issue is I cant get my head around the query. I am not used to using subqueries but I feel that is the route I need to go down. The real problem though is my graph will typically be y-axis frequency and x-axis Month with 4 seperate series running across for the different dates I want to see.

I am not asking for a complete solution as I can probably get the bulk sorted I am just confused with the adding multiple series and getting some form of common date timeline on the x-axis.
Jan 24 '11 #1
1 1696
jbt007
40
Munkee,

I am no expert, however my suggestion would to extract some data from your db and build the chart you would 'like' to see in XL. Then you will have a model from which to build your pivot chart. For example, what do you want to see for every CorrectiveStartDate? A Count of CorrectiveLinkID, which would show you how many Corrective items started on that day. Do you want the data grouped by month? (IE: Format(CorrectiveStartDate,"yyyy-mm") Or, is your data day or hour specific in which case you would need to group accordingly. Or are there some values you need to sum or calculate in some way, which would mean you would need to link some other table to the one you show above.

Hope this helps...
Jan 25 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: farrell77 | last post by:
I have a pivot chart that displays 3 data series. Series 1 values range from 17 to 106. Series 2 values range from 1 to 18. Series 3 values range from 0 to 1. When I display all three series...
1
by: Dave Sauny | last post by:
I have a chart drawn in chartfx with multiple series on the same graph. However, the X and Y values have different title, ie basing the data on 3 columns Col1 Col2 Col3 I want each...
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...
2
by: PC Datasheet | last post by:
From: "Martin" <Martin@discussions.microsoft.com> Subject: Pivot Chart Date: Monday, February 13, 2006 3:59 PM I am trying to learn how to use pivot charts. In 1995, if John took vacation 10/15...
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: inepu | last post by:
Is there any way to show a field in a pivot table/chart that is calculated based on other fields of the pivot? I have the following table: Date; DescriptionField_1; Slots; EmptySlots I want...
0
by: munkee | last post by:
All, Basically I am trying to change my pivot chart a bit more dynamically. I have a sub form with a query recordsource which contains all the fields I would require to create TWO pivot charts....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.