Not sure if there is a better way to do this in SSRS 2005, but this should work:
- Create dataset A. This will be your filter dataset. You should return only one value column. (If you need multiple values, you'll have to join them)
- Create a new report parameter called ParameterA. Set both the available values and the default values to the value column result from the dataset A. Set the parameter to Hidden (I think Internal might be a better choice..try it out)
- Create a second dataset B. Add ParameterA as a parameter to dataset B, called @parameterA.
- In your query, use the parameter like this:
SELECT blah blah WHERE valueColumn IN (@parameterA)
This should do what you're looking for. It's not pretty, but it should work.