COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: N013 on 18 Sep 2008 07:45:18 AM

Title: Can I Conditionally create a report with prompt values
Post by: N013 on 18 Sep 2008 07:45:18 AM
Hello all,

Is there a way to create a query based on user input? My requirements are to have a user select two years to compare (More than likely current & previous) and then select a period (ex January, February...) then display the difference.
Title: Re: Can I Conditionally create a report with prompt values
Post by: the_xxx on 18 Sep 2008 06:39:35 PM
Did you tried Value Prompts ?
Title: Re: Can I Conditionally create a report with prompt values
Post by: N013 on 19 Sep 2008 08:06:03 AM
I have figured this out out. I set up a value prompt and created an expression to check for which value was selected. Then I render the column based on the value prompt the user selected.
Title: Re: Can I Conditionally create a report with prompt values
Post by: the_xxx on 19 Sep 2008 10:55:49 AM
enjoy  :)