COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: cognosbi10 on 05 Jun 2013 10:27:59 PM

Title: Show/Hide columns based on the user click
Post by: cognosbi10 on 05 Jun 2013 10:27:59 PM
Hi,
We have a crosstab with 2 columns - A and B.
i need to have a hidden column C which should be displayed if the user clicks on column B.
(this is similar to creating hierarchies in Analysis studio)
I am looking for this functionality in report studio.

Any help in this regard is appreciated.
Thanks
Manasa
Title: Re: Show/Hide columns based on the user click
Post by: Satheesh on 06 Jun 2013 06:06:51 AM
Hi Ma nasa,


By Using Java Script   you can do this.


But if u want without using Java script, you can do this by using prompt(value).


Regards
Sateesh
Title: Re: Show/Hide columns based on the user click
Post by: RKMI on 06 Jun 2013 10:51:52 AM
Hi Manasa,

Try this, http://www.cognoise.com/index.php/topic,21800.msg66481.html#msg66481

This topic is quiet similar to this using condition variable and drill through on the same report show/hide can work or else go with the satheesh apporach of using a javascript which might end up being more complicated if you are not to proficent with JS.

Thanks,
RK