Quantcast
Viewing all articles
Browse latest Browse all 10045

Creating an OR filter logic in SSRS report.

Ok yet another problem here.  I have a report that I am building and for various reasons I need to filter it in place based on parameters vs passing parameter values directly to a SQL.  The set up is as follows.  I have a multivalue parameter (Serial number) that gets it's values from a select statement from a  dataset based on a table lets call the table "parameter list"   I have a report dataset that is built on a myriad of tables and nested select statements that I'm realy trying to keep simple stupid.  That report dataset contains a field called "serial number"  So in simplest form I have no problems creating an SSRS filter with an in operator to filter down on multiple values.  Here is the problem.  The main report dataset has records where that "serial number" field is null.  So what I really need to do is to create an OR filter that will pull all the numbers selected from list available plus null values.  I tried to build an expression with orElse but problem is that in expression builder there is no IN operator to accomodate multivalues.  Any thoughts?


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>