COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Cannondale23 on 10 Apr 2010 08:53:09 AM

Title: mdx prompt data item showing up prior to prompt page
Post by: Cannondale23 on 10 Apr 2010 08:53:09 AM
I have the following expression [Shipments].[Time].[Calendar Year to Month].[Month]->?Month_di? in a data item I use it as a value prompt then in the page as a nested item to create YTD and LYTD calcs in the report layout all works well, but it also comes up prior to prompt page, is there a way to make this prompt part of the prompt page ? 
thanks
Title: Re: mdx prompt data item showing up prior to prompt page
Post by: CognosPaul on 11 Apr 2010 02:54:54 AM
Are you using the query that expression is in anywhere in the prompt page?
Title: Re: mdx prompt data item showing up prior to prompt page
Post by: MFGF on 13 Apr 2010 04:49:26 AM
That would be my suspicion too.  The value prompt should not refer to your data item - only to the parameter ?Month_di?, and should use a query to retrieve the original month members.

MF.
Title: Re: mdx prompt data item showing up prior to prompt page
Post by: Cannondale23 on 17 Apr 2010 07:46:16 PM
Gentlemen,
Thank you for your reply, it works perfectly.