Solved

Need Query for histogram

Posted on 2004-09-17
2
202 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now