COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: JulioSarmiento on 01 Jan 2008 10:16:58 AM

Title: Filter Data Shown in Tree Prompt
Post by: JulioSarmiento on 01 Jan 2008 10:16:58 AM
How do i filter the data that is shown in a Tree Prompt?

For example, lets say that the Time Dimension is from 1990 through 2007.  I want the Tree Prompt to only display the years from 2002 through 2007.  How can this be done?

Thank you in advance and hope you all have a wonderful New Year.

Julio
Title: Re: Filter Data Shown in Tree Prompt
Post by: JulioSarmiento on 02 Jan 2008 10:21:40 PM
Wow... This was simple.  Solution was to get the query that the Tree Prompt creates and:

[Time].[TimeH].[Year].[YearId] between '2002' and Year(getDate())