C
Charles D Clayton Jr
I have a crosstab query that will return the sizes of pipe and the
quanity used by location. The "size" is the row (Group by), "pipe" is
the value (Count), "location" is the column (Group by). It looks sort
of like this (made up data. BPD, APD, etc are locations):
Size Total BPD APD BDD ADD
..5 4 3 1
..75 8 1 5 1 1
1 10 3 3 3 1
2 25 20 1 2 2
3 40 10 10 10 10
4 4 1 1 1 1
5 30 10 5 10 5
6 100 25 25 25 25
8 75 50 20 2 3
10 200 100 50 25 25
16 10 2 2 2 4
What I need to know is this, is it possible to group by a size range
rather than just size? Instead of 11 sizes, I need 3 groups (less
than 2", 2-8" and greater than 8").
Thanks,
Charles D Clayton Jr
quanity used by location. The "size" is the row (Group by), "pipe" is
the value (Count), "location" is the column (Group by). It looks sort
of like this (made up data. BPD, APD, etc are locations):
Size Total BPD APD BDD ADD
..5 4 3 1
..75 8 1 5 1 1
1 10 3 3 3 1
2 25 20 1 2 2
3 40 10 10 10 10
4 4 1 1 1 1
5 30 10 5 10 5
6 100 25 25 25 25
8 75 50 20 2 3
10 200 100 50 25 25
16 10 2 2 2 4
What I need to know is this, is it possible to group by a size range
rather than just size? Instead of 11 sizes, I need 3 groups (less
than 2", 2-8" and greater than 8").
Thanks,
Charles D Clayton Jr