Use AVG in Totals in List options
Posted: Wed Jun 27, 2012 8:05 pm
I have a question about the way you are calculating total amounts for averages on groupings. I am using AVG to calculate an average amount for a report with multiple groupings. At the top most group, the AVG amount appears to be the average for all of the records in the dataset. But when I drill down, there is a subtotal AVG which in my mind should match the upper level grouping (see attachment). However, it is an average of the average amounts for each of the rows in my next grouping level (do the math and you can see that the 452 in the drill down subtotal is an averate of the 5 rows (add up the AVG HAP in the 5 rows and divide by 5) instead of an overall average that matches the average in the top most grouping. Intuitively I would excect the totals on the subgrouping to match the row values on the next highest grouping and they do for othet total types like Sum or Count, but not for AVG.
Furthermore, I can suppress the Column Grand totals using List Options, but this does not suppress these totals in the lower groupings. How do I hide this incorrect overall AVG figure in the lower half?
Thanks
Cynthia
Furthermore, I can suppress the Column Grand totals using List Options, but this does not suppress these totals in the lower groupings. How do I hide this incorrect overall AVG figure in the lower half?
Thanks
Cynthia