COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: halkosj on 03 Apr 2009 05:03:24 PM

Title: Need two different aggregations for one measure
Post by: halkosj on 03 Apr 2009 05:03:24 PM
We cannot figure out how to model the case where we have a measure which should be averaged over time, but summed over any other dimension.

Where and how do we model this?  Is it done in Framework Manager? Transformer? or Report Studio?

Title: Re: Need two different aggregations for one measure
Post by: david.stachon on 03 Apr 2009 11:02:49 PM
...Transformer has just what you need!

on the measure:

right click -> properties > "Rollup" Tab, and you set the "Time State Rollup" to what you want. (i.e. "Regular Rollup" would be "Sum" and "Time State Rollup" would be "Average".

...note: for this to work your Time Dimension has to be a true time dimension (i.e. it will have a clock to the right of the dimension name), and there can only be one time dimension in the cube.

good luck!
Title: Re: Need two different aggregations for one measure
Post by: halkosj on 06 Apr 2009 12:50:12 PM
Perfect!! Works great!

Thanx  :)