i'm attempting to pass multiple values from a field through a parameter for an SSRS report. This is a multivalue parameter. The code below simply pulls the records for the latest set @department statement and not the rest of the values i want it to pull. What can i add to this statement to pass all of the values from the field to that one option in the multivalue parameter. Thanks a lot for your help.
while (@department = 'RSI ALL')
begin
if @department = 'RSI ALL'
begin
set @department = 'RSI-IT'
set @department = 'RSI'
set @department = 'RSI-JAX'
set @department = 'IT'
end
if (@department <> 'RSI ALL')
break
else
continue
end