COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: Revathi_M on 13 Nov 2014 11:41:52 PM

Title: I need Defalut Selection my any one Buttons
Post by: Revathi_M on 13 Nov 2014 11:41:52 PM
I have one report with two buttons
But I need "Default Selections"
i tryed creared values prompt,static choice given :list and chart
Default Selections is "list"

but when run report by Default Selections is "list" but when click on "Chart View" it not working


please anybody help me steps
Title: Re: I need Defalut Selection my any one Buttons
Post by: mitali on 14 Nov 2014 12:09:47 AM
you can specify condition to view chart or list using conditional block
Title: Re: I need Defalut Selection my any one Buttons
Post by: nblank on 14 Nov 2014 01:38:44 AM
See http://www.howtocognos.com/view-table-chart-prompt/ (http://www.howtocognos.com/view-table-chart-prompt/) for the solution (retype the single and double quotes!!)

This example is with the use of a prompt for the selection of report or chart. In the properties of the prompt you can also choose radio buttons.
Title: Re: I need Defalut Selection my any one Buttons
Post by: Revathi_M on 14 Nov 2014 03:34:11 AM
Hi
I tryed but it not working. please can provide XML file.or steps
Title: Re: I need Defalut Selection my any one Buttons
Post by: MFGF on 14 Nov 2014 05:07:25 AM
Quote from: Revathi_M on 14 Nov 2014 03:34:11 AM
Hi
I tryed but it not working.

What does "It is not working" mean here? Error? Wrong result? No result? Something else?

It seems fascinating that you can expect anyone to be able to help you solve your problem when the only information you have provided is "I tryed but it not working". If you went to your doctor and said "I am unwell", would you expect him/her to be able to diagnose your problem and prescribe a solution from that information alone? How can you seriously believe that anyone on this forum can give you a solution when you have given no detail whatsoever on your issue?

MF.
Title: Re: I need Defalut Selection my any one Buttons
Post by: mitali on 14 Nov 2014 05:32:08 AM
you only need value prompt in which u can add two static choices cross tab and chart ,using conditional block you need Boolean variable.
when variable is yes show cross tab and at no show chart.for further help I can send you detail steps.