M
mcl
I have a crosstab query which does a distribution of temperature data. I
round the temps and then have a query that gives me a count of temps by
month and temp. I then use that query in a crosstab. Things work OK until I
get below 0. (All working in degrees F and BTW this is for Andrews AFB.
There are 490701 total obs between 1943 and 1996)
Here is the below 0 output. I assume it will not line up right:
Tempf Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Annual
1 14 2 16
0 5 2 5
-0 7 2
-1 1 7
-2 13 14
-3 7 7
-4 8 8
-5 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0
I have no idea how the above will display but first of all there are two
rows for 0. I assume that for +0 and -0 (ie. 0.3 and -.03) although the way
round works they should all be just 0. The 2 days of 0 for Jul does not
exist in the database. It's a phantom. I've checked and rechecked. I thought
I had discovered some bad data in the database but that's not true. Also,
look at the annual totals. In some cases it doesn't add up correctly.
Going back to the phantom 2 for July, it depends on how much data I
include. I set up the query where it asks for beginning and ending years.
The phantom 2 didn't show until I went from 1943 to 1994. From 1943 to 1993
there are no problems. There is only one 0 row and all the totals add up.
When I go from 1943 to 1994 or greater the problem shows up. BUT, if I have
it go from say 1990 to 1996 again it's OK. There seems to be some
complicated relationship with how many records I include. When I say
compliacted I mean complicated. I ran it for 1980 to 1990 and for 1990 to
1996 with no problem. When I tried 1980 to 1996 it showed up again. Note
that my year criteria parameters do are >= []and <= []so it's not like I'm
skipping anything.
Also, I assume it gives me the last line telling me there are 0 nulls?
round the temps and then have a query that gives me a count of temps by
month and temp. I then use that query in a crosstab. Things work OK until I
get below 0. (All working in degrees F and BTW this is for Andrews AFB.
There are 490701 total obs between 1943 and 1996)
Here is the below 0 output. I assume it will not line up right:
Tempf Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec Annual
1 14 2 16
0 5 2 5
-0 7 2
-1 1 7
-2 13 14
-3 7 7
-4 8 8
-5 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0
I have no idea how the above will display but first of all there are two
rows for 0. I assume that for +0 and -0 (ie. 0.3 and -.03) although the way
round works they should all be just 0. The 2 days of 0 for Jul does not
exist in the database. It's a phantom. I've checked and rechecked. I thought
I had discovered some bad data in the database but that's not true. Also,
look at the annual totals. In some cases it doesn't add up correctly.
Going back to the phantom 2 for July, it depends on how much data I
include. I set up the query where it asks for beginning and ending years.
The phantom 2 didn't show until I went from 1943 to 1994. From 1943 to 1993
there are no problems. There is only one 0 row and all the totals add up.
When I go from 1943 to 1994 or greater the problem shows up. BUT, if I have
it go from say 1990 to 1996 again it's OK. There seems to be some
complicated relationship with how many records I include. When I say
compliacted I mean complicated. I ran it for 1980 to 1990 and for 1990 to
1996 with no problem. When I tried 1980 to 1996 it showed up again. Note
that my year criteria parameters do are >= []and <= []so it's not like I'm
skipping anything.
Also, I assume it gives me the last line telling me there are 0 nulls?