If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

TM1 equivalent for linkMember () function

Started by MikeG, 26 Feb 2015 02:08:43 AM

Previous topic - Next topic

MikeG

Hi,

I had a problem raised on this site, where the answer was

"the Current Month member is in a different hierarchy from the real month members in your dimension. You can use the linkMember() function to grab the corresponding month member from your real hierarchy."

This seemed perfect until I found the linkMember () function (which seems really useful) is not supported with TM1 cubes.
Has anyone using TM1 found a credible alternative?

thanks
Mike

Nemo

Hi,

If I understand correctly you are trying to get Current Month from time hierarchy because the linkMember() function is not supported with Cognos TM1 cubes. If this is the case, then you can get the Current Month out from time dimension with this kind of formula:

item(
filter (
members ([Cube].[DIM].[HIER]);
caption (firstChild([Cube].[DIM].[HIER].[Time All]->:[TM].[DIM].[HIER].[@MEMBER].[MEMBER]))
=
caption(currentMember ([Cube].[DIM].[HIER]))
);0)

Hope this will help you.

BR,

Nemo