Welcome to EMC Consulting Blogs Sign in | Join | Help

Christian Wade's Blog

Semi-Additive Measures in Analysis Services 2005

The new aggregation functions provided out-of-the-box with Analysis Services 2005 are fairly well publicised, but I feel they still warrant a blog post.

 

Analysis Services 2000 only had Sum, Count, Min, Max and DistinctCount.  Analysis Services 2005 also has the following.

  • None results in no default aggregation.  This is presumably used for custom aggregations like financial ratios where we calculate the aggregation ourselves
  • ByAccount is specialised for financial applications and applies only to an account dimension
  • AverageOfChildren just saves us creating a Count solely for the purpose of dividing another measure by it
  • FirstChild, LastChild, FirstNonEmpty and LastNonEmpty are “semi-additive measures”.  They are additive when querying by a normal dimension, but not by time.  For example, stock counts viewed at the product-category level should be summed, but when viewed for a week, the value should not be the sum of Mon + Tues + Wed, …  It would just be the LastNonEmpty child (maybe Friday).

 Semi-additive measure properties

 

 

 

Comments

 

TrackBack said:

April 7, 2005 16:21
 

TrackBack said:

April 15, 2005 06:12
 

Braulio_Malaga said:

That's a common scenario and was a pain in the neck to get results using Analysis Services 2000. In...

May 15, 2007 11:40
Anonymous comments are disabled
Powered by Community Server (Personal Edition), by Telligent Systems