I need to return first letter and last name that are passed back in a multi-value parameter.
Example: John Doe, Jane Doe, Jimmy Smith
I need jdoe, jdoe, jsmith so I can apply a filter in my reporting table.
Currently...
Update: I got the short version of the usernames with the below, but I have a space between the J and DOE. Additionally, it's a string and I need to join them to apply it as a filter to my Tablix
.
=LCASE(LEFT(Parameters!Users.Value(0),1))+LCASE(MID(Parameters!Users.Value(0),InStrRev(CStr(Parameters!Users.Value(0))," ")))
This is all due to the fact I can't pass back multi-value parameter into my query. As seen below...
SSRS: @Usernames =Parameters!Users.Value
*Join and Split functions don't resolve my issue
SQL: WHERE Username IN (@Usernames)
Any insight on either part would be helpful! Thanks!