visual studio report

I want to prompt the user to select from a list of values provided by another query. The selected value should be the filter for the main report query. What I have done so far does not acknowledge the selected value. The report displays all rows in the query even though I have selected a parameter
Report Data
-ReportParameter1
  Prompt=School
  DataType=Text
  Allow Multiple values
  Available values-get from query
    Dataset=school,
    Value=school,
    label=school
  No Default
 DataSet1
  Filter [school]=Parameters!ReportParameter1.Value(0)

What else should I do so the report will use the selected value to filter the results?
dwiseman3Asked:
Who is Participating?
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.

Tony303Commented:
Hi,

When the Multiple Values is switched on,
you need to change your last line to "IN" instead of "=" and take the (0) off
"Parameters!ReportParameter1.Value(0)"

So...

Report Data
-ReportParameter1
   Prompt=School
   DataType=Text
   Allow Multiple values
   Available values-get from query
     Dataset=school,
     Value=school,
     label=school
   No Default
  DataSet1
   Filter [school] IN Parameters!ReportParameter1.Value

I hope this helps

Tony
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
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
Microsoft Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.