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 2012 Forums
 Analysis Server and Reporting Services (2012)
 Multiple Choice and Hidden Reports

Author  Topic 

wafw1971
Yak Posting Veteran

75 Posts

Posted - 2013-03-12 : 08:20:32
On Report Builder 3.0 I have created 6 reports that are hidden unless it is selected in a parameter:

Report Code Visibility string:

=iif(Parameters!WhichReport.Value(0) = "Occupancy", False, True)

But what I want to do is make the Parameter a multiple select parameter so someone can choose two charts instead of 1 or choose all 6 etc but whatever selection is made all other reports need to stay hidden. Can this be done and if so how?

Thanks

Wayne

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-03-12 : 13:36:04
yep.. use like below

=iif(Instr("," + Join(Parameters!WhichReport.Value,",") + ",",",Occupancy,")>0, False, True)

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

wafw1971
Yak Posting Veteran

75 Posts

Posted - 2013-03-13 : 05:57:34
Thanks Visakh exactly what I needed as always.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-03-13 : 06:39:35
welcome

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -