pentaho/mondrian — pull request #320 by kurtwalker (2014-05-21 14:03:36+00:00)
Title: [MONDRIAN-1869] - avg measures need to be aggregated in SQL similar to d...

...istinct-count. You cannot aggregate avg from separate queries because the count for the denominator is lost by then.
I verified the changed value in CompoundSlicerTest is now correct. The calculation is getting pushed into the SQL now.