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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 Multiple Choice and Hidden Reports
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

wafw1971
Yak Posting Veteran

75 Posts

Posted - 03/12/2013 :  08:20:32  Show Profile  Reply with Quote
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

India
52326 Posts

Posted - 03/12/2013 :  13:36:04  Show Profile  Reply with Quote
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 - 03/13/2013 :  05:57:34  Show Profile  Reply with Quote
Thanks Visakh exactly what I needed as always.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 03/13/2013 :  06:39:35  Show Profile  Reply with Quote
welcome

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

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000