T
tc2004
I must be missing something, but I have been starring at this for a while and
cannot figure out what it is.
I have 5 columns in my table (and 100+ rows):
year
size category
total number of patients
number of patients screened
% of patients screened
I want to create a pivot table that shows the average % of patients screened
by year and size category. If I use average of "% of patients screened" in
the values section of the pivot table the results are off, because it takes
an average of the percentages, which is different from summing the number of
patients and the number screened in each subgroup and then calculating the
percentage.
Is there a way to have a calculation by subgroup in the pivot table:
(sum # patients screened)/(sum # patients)?
Thanks.
cannot figure out what it is.
I have 5 columns in my table (and 100+ rows):
year
size category
total number of patients
number of patients screened
% of patients screened
I want to create a pivot table that shows the average % of patients screened
by year and size category. If I use average of "% of patients screened" in
the values section of the pivot table the results are off, because it takes
an average of the percentages, which is different from summing the number of
patients and the number screened in each subgroup and then calculating the
percentage.
Is there a way to have a calculation by subgroup in the pivot table:
(sum # patients screened)/(sum # patients)?
Thanks.