COGNOiSe.com - The IBM Cognos Community

Planning & Consolidation => TM1 => Topic started by: cognos05 on 25 Nov 2014 04:12:29 PM

Title: TI GetMonthName function
Post by: cognos05 on 25 Nov 2014 04:12:29 PM
Hi ,
I am a beginner and not sure if this possible in TM1 TI process

Can I have private functions in ti process.

If I send the current month number it should return the corresponding month name,

Is this possible to be a generic code.

Thanks,
Nithya
Title: Re: TI GetMonthName function
Post by: dusherwo on 19 Feb 2015 05:17:19 AM
You can write and call subprocesses, but it's not very good, especially if you call them while reading a large datasource, as the logfile is cluttered up with entries. Just create and populate an attribute or alias.