COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS Transformer => Topic started by: halkosj on 21 Jan 2009 06:54:03 PM

Title: Categories are missing from cube
Post by: halkosj on 21 Jan 2009 06:54:03 PM
Never had this problem before.  When we generate categories, and bring up the diagram, all expected categories appear. But when we build the cube, for one of the dimensions, only one of the six categories appears.

Why would this happen?
Title: Re: Categories are missing from cube
Post by: JackCognos on 27 Jan 2009 02:37:53 PM
The most likely cause is a lack of measure data for the particular categories that are missing. This can sometimes happen when building a model with multiple data sources.
Title: Re: Categories are missing from cube
Post by: JGirl on 30 Jan 2009 04:18:23 AM
If you have your transformer model setup to build your dimensions first, then your facts, the categories will be generated in the transformer *.mdl/*.pyi model for all dimensional values.

There is a property for each level that lets you change the inclusion of categories in the cube when the *.mdc file is built.  If this property is set to 'Default (When Needed)' or 'Include When Needed', only those categories that have transactions from your fact table against them will be built into the cube.

If you change this setting to 'Always Include', your cube file will contain all category values, even when there is no data.

Hope this helps.
J