COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: sg on 19 Aug 2009 03:44:21 AM

Title: Rolevalue function in cognos
Post by: sg on 19 Aug 2009 03:44:21 AM
Hi,

I need to use rolevalue function . I tried giving the below code,

rolevalue('_memberSet',Caption([Sales Region Name]))=[Query1].[Sales Region]

it throws the error. I'm new to MDX in cognos. Please let me know the exact code if anybody has used this function.

it throws error as below:

ERROR: Invalid Correation from value datatype to 'member set, member, heirarchy'

Thanks in Advance.

Thanks,
Sg