Set Regular and Time State Rollup Together
You can use Regular rollup and Time state rollup together to summarize measure
values in your OLAP reports. When both are selected, regular rollup is performed
first, followed by time-state rollup.
There are several constraints that apply when defining these two types of rollup
together:
v
Cognos Transformer cannot perform
Time state rollup
for a measure when there
is more than one time dimension in the model.
v
You cannot apply summarized views to a time dimension if the model contains
a measure with
Time state rollup
applied.
v
For the time dimension, if you select
Average
for both
Regular
and
Time state
rollup
, Cognos Transformer performs
Regular rollup
first. It then sums the
remaining consolidated records and divides by the number of leaf categories in
the time period. Lastly, it sums the remaining records and divides by the
number of months in the quarter or days in the month.
Procedure
1.
Open the
Measure
property sheet and click the
Rollup
tab.
2.
In the
Regular rollup
box, select a rollup function.
If you select the
Average
function, you can weight the average by selecting a
measure from the
Regular weight
box. However, the weighting measure must
have a rollup function of
Default (Sum)
or
Sum
.
3.
In the
Time state rollup
box, click a rollup function.
If you select the
Average
function, you can weight the average by selecting a
measure from the
Time state weight
box. However, the weighting measure
must have a rollup function of
Default (Sum)
or
Sum
.
4.
Click
OK
.
Example - Jointly Setting Regular and Time-State Rollup
Your source data contains the inventory levels for the middle and end of each
month in all warehouses. You want your OLAP report to show the total inventory
at the end of each quarter.
To obtain the correct result, you define a view that removes the warehouse
category, and then use
Regular rollup (Sum)
and
Time state rollup (Last period)
.
Your source data is as follows:
Date
Warehouse-Product
QTY
20061115
WH1TR139SQ
500
20061115
WH2TR139SQ
400
20061130
WH1TR139SQ
200
20061130
WH2TR139SQ
600
Procedure
You select
Regular rollup
for each period, and then apply
Time state rollup
.
106
IBM Cognos Transformer Version 10.1.1: User Guide
Summary of Contents for Cognos
Page 1: ...IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 106: ...92 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 136: ...122 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 160: ...146 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 174: ...160 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 326: ...312 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 352: ...338 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 394: ...380 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 398: ...384 IBM Cognos Transformer Version 10 1 1 User Guide ...
Page 411: ...Y year function 362 years between function 362 Index 397 ...