I have a multi-valued parameter called Faculty
on a report. I want to display the selection in a textbox at the top of the report. The obvious solution would be:
JOIN(Parameters!Faculty.Label,", ")
The problem that I am having is that the first option in the list (the default) is "All Faculty". This is distinct from the "Select All" checkbox that SSRS provides. We have created this hardcoded "All" option because it looks cleaner on the parameters screen (the user sees "All Faculty" instead of "Adam, Arbor, Altman..." etc.). If the user leaves this checked and makes any other selections, we assume that they meant to only select the other items and the stored procedure ignores the "All" selection.
So I would like to display something like this:
IIF(Parameters!Faculty.Value(0) = "0000000", [*display all selections except value 0*], (JOIN(Parameters!Faculty.Label,", "))
The section in square brackets is what I am having trouble with. The 0000000
value represents "All Faculty".