How to filter one dataset table with another dataset Table value in SSRS.
Not sure if there is a better way to do this in SSRS 2005, but this should work:
SELECT blah blah WHERE valueColumn IN (@parameterA)
This should do what you're looking for. It's not pretty, but it should work.
To filter second dataset, like Master/Details you need to use subreport, place second dataset in subreport and filter it by subreport parameter. Subreport, when placed on the report can have parameter value from the field of the first dataset.