COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Dan Smith on 16 Sep 2019 02:40:23 PM

Title: Cognos Prompt page paramater values
Post by: Dan Smith on 16 Sep 2019 02:40:23 PM
I am using Cognos 10.2 Report Studio.

I have determined the Top 5 Products by Reveue % in my queries for the year 2017 & 2018. The user wants to Industry level % to be input by the user on the prompt page for  Product.

So that chart displays Top 5  Products as a bar chart. The bar chart will have 3 bars - one for 2017, second for 2018, and the third one as the Industry Level % entered on the prompt page.

How do I pass that parameter value typed on the prompt page(text box prompt) to tie in with that respective product?

One solution I though is I can have a Pass Through SQL with #sq prompt code to fetch the prompt parameter values. But how do I dynamically determine that 5 values entered on the prompt page be tied to the Top5 Products in the query?
Title: Re: Cognos Prompt page paramater values
Post by: dougp on 17 Sep 2019 12:27:07 PM
Just add a data item that uses the parameter.