COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: movieposters on 16 May 2024 02:47:28 PM

Title: How to Add Selected Parameters to a Page (Report)?
Post by: movieposters on 16 May 2024 02:47:28 PM
Hoping you can help!

Can't recall how to add the values of selected date prompts to a page.   Specifically, it would be the start and end of a date range the user selects.   For example if they selected Jan 1, 2024 as start and April 30, 2024 and the end, looking to have these two dates on the page.   

Tried adding a Singleton, this appears to have to be linked to a query, and then limits to a query item.   

How would I add the values of the dates the user selected to a page?

Many thanks!
Title: Re: How to Add Selected Parameters to a Page (Report)?
Post by: MFGF on 20 May 2024 11:57:58 AM
Quote from: movieposters on 16 May 2024 02:47:28 PMHoping you can help!

Can't recall how to add the values of selected date prompts to a page.   Specifically, it would be the start and end of a date range the user selects.   For example if they selected Jan 1, 2024 as start and April 30, 2024 and the end, looking to have these two dates on the page.   

Tried adding a Singleton, this appears to have to be linked to a query, and then limits to a query item.   

How would I add the values of the dates the user selected to a page?

Many thanks!


Hi,

Drag in a Layout Calculation from the toolbox, and choose the desired parameter from the parameters tab and drag it into the expression of the calculation.

Cheers!

MF.