http://www.noidea.us/easyfile/index.php?folder=1&sort=title&order=DESC/mosha/archive/2008/10/22/optimizing-mdx-aggregation-functions.aspx