Im building a query that right now has an output that looks something like this:
Local / Year /Sum / ID #
12 / 2014 / $450 / 4
12 / 2014 / 300 / 5
12 / 2015 / 400 / 4
That is with the ID # as group by. I want to only group by local and year and just have the ID # output count the unique entries in the database. So in that last example my output would instead look like
Local / Year / Sum / CountofID #
12 / 2014 / $750 / 2
12 / 2015 / 400 / 1
Ive tried the standard count function as well as a Count distinct function and still haven't gotten what I want.
Any pointers?