Solved

Need Query for histogram

Posted on 2004-09-17
2
211 Views
Last Modified: 2012-06-27
I need the proper syntax for a histogram. Name of table: tblinprocess, field, timestamp. How do I get the totals I need for a histogram. Thank you for the response.
0
Comment
Question by:marlind
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
miqrogroove earned 500 total points
ID: 12104709
Marlind, there are probably several ways to attack this problem.

As you know, a statistical histogram requires not only the input data, but also "bins" specified by sizes or ranges.  Could you describe for me how you want the bins arranged, how you will determine that arrangement, and will it change dynamically?

A histogram with static bins can probably be designed using one or two queries with both IIf statements and Sum functions.

A dynamic histogram system will need to have the bins pulled from a second source and will require a more complex query, or possibly even some programming code.

Also, if you would, describe the end product you need.  If you need a histogram chart, then perhaps designing a PivotTable or exporting data to Excel would be a better approach than using queries at all.

-- Miqro
0
 
LVL 2

Author Comment

by:marlind
ID: 12105008
Those are good questions. Let me put some thought into the questions and get back to you.
Thank You.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question