J
javablood
I have a report based on Duane Hookom’s dynamic cross tab. It is generally
working fine in that my column alias is working, as are the different levels;
however, there are nuances that are snagging my overall progress in
completing the report. First, I am trying to get the report to look like
this:
Sample Date Location 1 Location 2 Location 3 Location 4 Location 5
Parameter 1 value value value value value
Parameter 2 value value value value value
Parameter 2 value value value value value
Parameter 2 value value value value value
etc.
etc.
Total: sum sum sum sum sum
The report is grouped on Sample Date and since there is only one date it
works fine. I tried to group on Level but then a weird data came up at each
level.
The two nuances that I am having trouble with are:
(1) each location has the same 20 parameters, so I get something that looks
like this:
Sample Date Location 1 Location 2 Location 3 Location 4 Location 5
Parameter 1 value
Parameter 1 value
Parameter 1 value
Parameter 1 value
Parameter 1 value
etc.
Total: sum
and so on. I tried grouping on the parameter but that does not work because
then it totals by parameter and I want a total of all the parameters per
location.
(2) The total is not totaling in each column. As shown above, there is only
one total per level!?
I am not sure what you all might need to help me – SQL, etc. Please let me
know and I will post. Thanks for looking at this.
working fine in that my column alias is working, as are the different levels;
however, there are nuances that are snagging my overall progress in
completing the report. First, I am trying to get the report to look like
this:
Sample Date Location 1 Location 2 Location 3 Location 4 Location 5
Parameter 1 value value value value value
Parameter 2 value value value value value
Parameter 2 value value value value value
Parameter 2 value value value value value
etc.
etc.
Total: sum sum sum sum sum
The report is grouped on Sample Date and since there is only one date it
works fine. I tried to group on Level but then a weird data came up at each
level.
The two nuances that I am having trouble with are:
(1) each location has the same 20 parameters, so I get something that looks
like this:
Sample Date Location 1 Location 2 Location 3 Location 4 Location 5
Parameter 1 value
Parameter 1 value
Parameter 1 value
Parameter 1 value
Parameter 1 value
etc.
Total: sum
and so on. I tried grouping on the parameter but that does not work because
then it totals by parameter and I want a total of all the parameters per
location.
(2) The total is not totaling in each column. As shown above, there is only
one total per level!?
I am not sure what you all might need to help me – SQL, etc. Please let me
know and I will post. Thanks for looking at this.