How to sum a calculated measure?

Jeffrey Bane picture Jeffrey Bane · Jun 28, 2013 · Viewed 9.1k times · Source

I have a fairly complex calculated measure that works perfectly for each row of data from a cube. However, I then need a sum of those values line by line. But the behavior of calculated measures seems to be in the subtotal and total lines in Excel, it's performing the calculation again instead of summing the previous rows. Is there a way to have a calculated measure that performs it's calculation on each row, but they does a traditional SUM in the total and subtotals?

Thanks in advance.

Answer

Marc Polizzi picture Marc Polizzi · Jun 29, 2013

A calculated measures does not aggregate; it will be computed each time.