October 20, 2016 at 10:45 am
Hello,
I am new here and looking for some help in ssrs 2014. The actual problem is that I want in a @Parameter the user to be able to enters multiple values. For example [AAABBB, BBBAAA, AAACCC, ....] and I want in the query to run the following logic somehow..
Split each value and add * in the end and then use them as OR.
Where [Item Category Code] Like AAABBB+'%' OR
[Item Category Code] Like BBBAAA+'%' OR
[Item Category Code] Like AAACCC+'%' )
Is this possible? can some one explain me how to implement this?
Thank you in advance!!!
October 20, 2016 at 10:53 am
Hi
and welcome to the forum,
is there an option of doing this on the database side?
There are several ways of passing multi value parameters, each has pros and cons
October 20, 2016 at 11:24 am
Hello,
I think yes because in the @Parameter the user will write something. This something is a string. Can we use this string and populate the code in the query?
October 20, 2016 at 11:39 am
Use DelimitedSplit8K or something like it and then use LIKE in the join?
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy