Here's my query using the Query Report Builder:
SELECT Col1, COUNT(Col1) AS Count_Column
FROM Table
GROUP BY Col1
It generates a report that lists all the values of column "Col1" and how many times each value was used in Col1
For instance, if Col1 contained the value 'A' 12 times, 'B' 6 times, and 'C' 19 times, the report would generate this:
A - 12
B - 6
C - 19
What i need as a column footer is the total count of all the values, which in this case 12+6+19=37
I am using a calculated field, setting the data type to Double, the calcuation to Sum, and the perform calculation on to 'query.Count_Column'. Reset Field When is set to None.
When I run the report, it doubles the last number in the report's Count column (19) and displays 38 on the page. I tested this with another column and it doubled the last number in the report as well.
How can I get it to properly Sum my Count_Column?
SELECT Col1, COUNT(Col1) AS Count_Column
FROM Table
GROUP BY Col1
It generates a report that lists all the values of column "Col1" and how many times each value was used in Col1
For instance, if Col1 contained the value 'A' 12 times, 'B' 6 times, and 'C' 19 times, the report would generate this:
A - 12
B - 6
C - 19
What i need as a column footer is the total count of all the values, which in this case 12+6+19=37
I am using a calculated field, setting the data type to Double, the calcuation to Sum, and the perform calculation on to 'query.Count_Column'. Reset Field When is set to None.
When I run the report, it doubles the last number in the report's Count column (19) and displays 38 on the page. I tested this with another column and it doubled the last number in the report as well.
How can I get it to properly Sum my Count_Column?