I have the followng table in Excel and I am trying to aggregate the distinct counts, in a pivot table, however the values are off and I am wondering why. I am using the distinct count option within the pivot values for the student,teacher and aide
Below is the output, that the pivot table is currently providing
I would like the ideal output to look like this:
Distinct count includes "blank", so you'll have to write your own measure field, try something like
=CALCULATE(DISTINCTCOUNT(Table1[teacher]), NOT(ISBLANK(Table1[teacher])))
Then select that field instead of Distinct Count of teacher.