I am migrating an SSRS 2005 BIDS project to Visual Studio 2015 Data Tools and I am seeing issues with migrating DataSet filters that use the IN operator. The reports seem to work correctly, but when I view the Filter expression in the designer only the first operand in the list appears, and the rest are missing. However, if I view the code (.rdl source) I see all of the operands. Worse yet, If I close the Filters window using the OK button only the first operand remains and the rest are removed from the .rdl file.
Here is an example filter from the .rdl code:
<Filter>
<FilterExpression>=Fields!DecodeType.Value</FilterExpression>
<Operator>In</Operator>
<FilterValues>
<FilterValue>="Team"</FilterValue>
<FilterValue>="ALL"</FilterValue>
</FilterValues>
</Filter>
The .rdl code for the filter operator and filter values is identical in both 2005 and 2015 tools. The issue appears to be with the 2015 (or 2008 for that matter) designer.
Questions:
Am I doing something wrong, or is this a known issue?
What syntax should I be using instead. Split("Team,ALL",",") which works, but some of my filters check for Nothing in the list of possible values (see .rdl filter values below)
<Filter>
<FilterExpression>=Fields!DecodeType.Value</FilterExpression>
<Operator>In</Operator>
<FilterValues>
<FilterValue>=2</FilterValue>
<FilterValue>=Nothing</FilterValue>
</FilterValues>
</Filter>
NOTE: This same issue occurs migrating from 2005 BIDS to 2008 BIDS. I found this by trying a progressive migration through each version :(