I have a problem when working with multivalue parameters between reports.
I have a main report in which I defined a multi-valued parameter that I use to run an SQL query to populate its dataset. The parameter is used in the WHERE clause as follows:
WHERE values IN (@parameter)
It works fine and returns the expected data.
This master report then passes this parameter to the subreport. A parameter is also defined as multi-valued in the subtitle, and, as far as I can see in the drop-down list of parameters, it gets the correct values. Something like this: A, B, C
The fact is that a query that populates a subreport dataset returns nothing. It also has a WHERE clause defined as in the main report (which already works)
WHERE values IN (@parameter)
If I run the query manually, copying the values โโsomething like this:
WHERE values IN ('A', 'B', 'C')
It works, but when I try to use a parameter, it is not. So, somehow, it will lose format or values โโin the path.
I tried this solution in defining a subreport dataset that was suggested in another thread:
=join(Parameters!<your param name>.Value,",")
But this does not work for me, the dataset is still empty.
Any ideas on what I am missing?
Thanks!:)