COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Active Reports => Topic started by: pkrishnaq on 12 Oct 2011 04:01:34 PM

Title: Default selection on Data Radio Button Group
Post by: pkrishnaq on 12 Oct 2011 04:01:34 PM
Hello,
Is there a way to have a default selection in the Data Radio Button Group.Please help if you have a solution.

Thanks very much.
Title: Re: Default selection on Data Radio Button Group
Post by: MMcBride on 13 Oct 2011 11:19:20 AM
Kratos to set a default value in a Data Radio Button Group:
Once you have the control on the Active Report and the data item you want used select the "Interactive Behavior" icon located just to the right of the data items

In the section called Report Behavior there is a setting called "Set Default Values" - this is what you are looking for.
Title: Re: Default selection on Data Radio Button Group
Post by: neilunderwood on 16 Jan 2012 10:33:06 AM
Further to this, is it possible to set the data radio button group to a dynamic default value?  E.g. If using the data radio button group to filter on year, rather than having to enter or select a specific year, can the component somehow be forced to accept the current year based on the current date?  I've tried javascript and one or two other workarounds but haven't managed to land the right way of doing it yet.  Any ideas anyone?

Thanks