How to check if a value is selected in a multi-value parameter

后端 未结 1 1632

In SSRS 2008, I use Multi-value parameters to, well, select multiple values for a particular parameter.

In my report I have conditional formatting: a particular label ha

相关标签:
1条回答
  • I think the cleanest way is probably the following

    Array.IndexOf(Parameters!p_myMultipleValueParameter.Value, Fields!groepType.Value) > -1
    

    Running a join each time may be inefficient because of the overhead of allocating extra strings, especially if the function will be run over a large list, or once per row of a grid, say.

    0 讨论(0)
提交回复
热议问题