COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: jamesqi on 04 Jul 2008 12:03:44 PM

Title: How to compare date in cube to a dateprompt value
Post by: jamesqi on 04 Jul 2008 12:03:44 PM
I've created a dateprompt and we have a "calendar years" dimension in my cube. Under "calendar years", we have "quarter","month","week" and "day" levels. I tried to create report which date <= prompt. I used "day" level to compare the dateprompt parameter. It failed. Anybody helps! Thanks.
Title: Re: How to compare date in cube to a dateprompt value
Post by: MDXpressor on 09 Jul 2008 10:23:14 AM
You have to remember that the cube is not populated with dates, it's populated with Member Unique Names.  If you tried using the tree-prompt instead of the calendar prompt, I think you'd have more success.
Title: Re: How to compare date in cube to a dateprompt value
Post by: jamesqi on 09 Jul 2008 11:27:35 AM
I'll try this way. Thanks.