The easiest way is to set the value passed in the parameter to be the "bkey" of the dimension.
Assuming the dim has been built in the way I would expect this will give a comma separated set of the departments.
So your filter could just be department = ...
Assuming the dim has been built in the way I would expect this will give a comma separated set of the departments.
So your filter could just be department = ...