COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS Transformer => Topic started by: halkosj on 16 Dec 2008 06:31:14 PM

Title: How to have control over hierarchy labels?
Post by: halkosj on 16 Dec 2008 06:31:14 PM
We cannot figure out how to apply our own tags or labels to the dimension hierarchies. For example, for the "Time" dimension, transformer displays the Fiscal Year as "2008" and the Fiscal Quarter as "2008 Q 1".  We want these to be "FY2008" and "FY08 Q1", respectively.

How is this done?
Title: Re: How to have control over hierarchy labels?
Post by: JGirl on 16 Dec 2008 11:03:59 PM
Hi,

Sounds like you've used the date wizard to build the time dimension.  If this is the case, you should be able to change the labels by double clicking on each level you wish to change.  This will open the level properties window.

Go to the Time tab, and click on the 'Modify Format' button.  In the Code: text box, type a suitable format here.

For the examples you gave below:
* For Fiscal Year change the format from YYYY to "FY"YYYY
* For Fiscal Quarter change the format from YYYY "Q" Q to "FY"YY "Q"Q

Hope this helps.

J
Title: Re: How to have control over hierarchy labels?
Post by: halkosj on 17 Dec 2008 11:52:06 AM
Thats just what we wanted!  Thanx J !
Title: Re: How to have control over hierarchy labels?
Post by: halkosj on 21 Jan 2009 03:14:08 PM
Oops - well, it works for Year and Quarter, but not for Month.

In the format specification, for Year and Quarter, "YYYY" is converted to the Fiscal Year.  For the Month level, "YYYY" is converted to a calendar year - how do we get a consistent display of Fiscal Year for all levels?