Reputation: 1293
I have this report which gets data from a storedprocedure. I need to pass CustomerIDs from a multi-select dropdown to my report.
My storedprocedure looks like this :
@CustomerIds varchar(500)
select *
FROM [Application].[ApplicationVersion] APPVERS
WHERE APPVERS.CustomerId IN ( @CustomerIds )
On my report I have the parameter "CustomerIds", the data type is set to Integer (I tried it with "TEXT" but it didn't work either). The parameter is set to "Allow multiple values"
On the report where my dataset is defined, I have the @CustomerIds defined as follows : "=SPLIT(JOIN(Parameters!CustomerIds.Value,","),",") " (I tried it with the SPLIT only, with the JOIN only and it didn't work)
Can anyone help me?
Upvotes: 0
Views: 8249
Reputation: 4221
The way I usually approach this is to use a filter.
Upvotes: 9