i@bluefocus
01-04-2010, 10:36 AM
I am new to Access and have been trying to figure out how to group daily counts into one total number for a given month. Currently, I only know how to make adjustments within the "Design View" of my queries. Is there something in the "Criteria" field that I can enter (instead of Between #7/1/2009# and #7/31/2009#) to get the sum of all hits in the month of July?
Thanks for your help...
i
:confused:
DJkarl
01-04-2010, 10:55 AM
In design view hit the Totals button (the greek sigma sybol Σ)
This will add a Total row to your query design view, select the column you want to total then change the value from Group By to Sum.
i@bluefocus
01-04-2010, 10:59 AM
Thanks DJKarl....I did try that but it returned some really big numbers that don't check out with the actual numbers. Let me try it again and recheck that data on the tables i'm querying.
i@bluefocus
01-05-2010, 05:27 AM
Hey again...no luck. I keep getting numbers in the millions and billions when i use the Sum function. Basically i'm tracking how many times different pages were viewed on our touch-screen city guide. so each "hit" is it's own ID number, along with the source of the hit, time and date of the hit. i'm starting to wonder if there's possibly something wrong with the way the information is imported.
Argh!
gemma-the-husky
01-05-2010, 07:14 AM
if each hit is recorded separately, try COUNT, rather than SUM, in the expression/function row.
i@bluefocus
01-05-2010, 07:15 AM
Thanks...I finally figured it out. I ended up creating creating a crosstab query then doing an autocalc: sum. Worked like a charm! Geesh....was that a brain fart...