COGNOiSe.com - The IBM Cognos Community

Planning & Consolidation => TM1 => Topic started by: cognos05 on 21 Nov 2014 02:57:48 PM

Title: TM1 YTD Dimension
Post by: cognos05 on 21 Nov 2014 02:57:48 PM
Hi ,
I am new to TM1 and just started using the TI process to create a dimension. I am starting of with creating a TI Process which will create a dynamic time dimension and this process will be run every day.

Hierarchy would look like this

Time
FiscalYTD -Year
Fiscal Months -Month

SO I will create a dimension named time and add an element FYTD.

To add the members like months in FYTD , how can I write a generic code.

Should I strore Jul,Aug ....Jan in string variables and then use it in the code.

how should my loop be and how to get the values like jul2013 to jun 2014 added to this code.

DimensionElementComponentAdd(vDimName, FYTD, vElement, 1);

Thanks,
Nithya