COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: cogswell on 16 Jun 2011 01:42:23 PM

Title: Dimensional expression help!
Post by: cogswell on 16 Jun 2011 01:42:23 PM
Dimensional expression help

My time dimension has Year, Quarter and Month. All the years have 12 months each as their children, except the current year (which has 6). I need a dynamic set expression:
To think of this in another way, I need a list of the 'youngest' child of each child.

Any good way to do this? Or am I forced to create a static set and do yearly report maintenance? I have tried the following and others but got the 'invalid coercion' error everytime.

set(lastChild(children([Time])))

set(lastSibling(members([Cube].[TimeDimension].[Time].[Month])))
Title: Re: Dimensional expression help!
Post by: cogswell on 17 Jun 2011 05:58:06 AM
Anyone?