COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Vick on 02 Jan 2009 01:21:58 PM

Title: '->' Operator
Post by: Vick on 02 Jan 2009 01:21:58 PM
Does anybody know what is the function of '->' operator. I know it is used for Dimensional data but not sure where can we use it.

I would really appreciate if somebody can give me example for it.

Thanks in advance,
Vick
Title: Re: '->' Operator
Post by: Kattrix on 03 Jan 2009 04:18:05 PM
You are correct that it is used with dimensional sources. It is used in the string that identifies a unique member within the hierarchy (aka MUN). Normally, when pulling a member into a data item, the -> symbol is added automatically.

However, there are cases where you might create this MUN string on your own... for example,
1. when creating a member prompt inside a data item
[namespace].[dimension].[hierarchy].[level]->?myPromptHere?

2. when using macros to create dynamically written MUNs based on user selections or for rare complex drill-through/prompting situations.