COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: dblinde on 22 Aug 2012 04:14:40 AM

Title: how to add calcultion in framework manager on aggr level
Post by: dblinde on 22 Aug 2012 04:14:40 AM
Hella all,

i have two measures in my framework:
A- number of patients (count distinct patient)
B- total hours spent on a hospital bed

now i'd like to add a third measure with the following calculation : B/A (average hours spent on a bed p.patient)

How can i do this avoiding the problem that using this measure in query studio it does not add up the averages but keep using the calculation on each aggregation level i use on the grid?



Title: Re: how to add calcultion in framework manager on aggr level
Post by: blom0344 on 22 Aug 2012 07:50:54 AM
averages are by nature not additive. Why are you looking for a way to add them up?
Title: Re: how to add calcultion in framework manager on aggr level
Post by: tjohnson3050 on 22 Aug 2012 09:50:12 AM
Setting aggregation property to 'Calculated' will reapply the data item calculation at the aggregate level.