Multiple parameter values in expression

I know I have done it before (at a different company) but how do Include all of my multi selections in an expression for a report title? The parametercomes back
=Parameters!Branch.Value(0)> I know it's an array but can't remember how its done.
Laura2112Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Megan BrooksSQL Server ConsultantCommented:
A mult-value parameter returns an array of strings for Parameters!xxx.Value instead of a single string. You can join the strings in the array together using Join(), or for something more elaborate you could call a function in custom code that iterated through the array.
0
Laura2112Author Commented:
seems like solution I have seen before took the (0) into consideration and maybe have concatenated ',' somewhere in the expression instead of the array location. Sound familiar at all ?
0
Megan BrooksSQL Server ConsultantCommented:
I don't know if I have seen this elsewhere, but I have code in my current reports to join parameter values or iterate through them. Here is an example of Join():

=Join(Parameters!ReportParameter1.Value, ", ")

This constructs a comma-separated list of the selected values of the parameter. You can also make a list of the selected parameter labels:

=Join(Parameters!ReportParameter1.Label, ", ")
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Laura2112Author Commented:
Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DB Reporting Tools

From novice to tech pro — start learning today.