Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Hide and show Parameters in RS 2008

Author  Topic 

mbraga26
Starting Member

1 Post

Posted - 2013-08-09 : 07:57:34
Hi experts, I have Parameter1 and then my second parameter is a boolean (True/False). I want to show Parameter3/Paramater4 based on selection of Parameter2, so, if true, show Parameter3, if false, show Parameter4. Thanks.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-08-16 : 14:09:14
=IIF(CStr(Parameters!Param2Name.value) = "True",Parameters!Param3.value,Parameters!Param4.value)

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -