COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS Transformer => Topic started by: halkosj on 26 Jan 2009 01:07:49 PM

Title: Categories are generated even though no data.
Post by: halkosj on 26 Jan 2009 01:07:49 PM
Transformer seems to be inconsistent in generating levels for which there is no data.

We're using a time dimension with levels for Year, Quarter, and Month.  The fact table currently contains only 9 months of data - Jan 2008 through Sept 2008.  Transformer correctly generates one category (2008)for the Year level. But for the Quarter level, it generates all 4 quarters, even though the data covers only 3 quarters. Underneath Quarter, it generates categories for all 12 months.

What we want is:
Year - 2008
Quarter - Q1, Q2, Q3
Months - Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep

Is there any way to tell transformer to NOT generate categories that are not represented by the data.
Title: Re: Categories are generated even though no data.
Post by: JackCognos on 27 Jan 2009 02:24:45 PM
Right click each level of the time dimension and click on the Time tab. There is an option to 'Generate all cateogories in the period'. This is the default. If you uncheck the box it should only generate the categories that are present.