Forum Discussion
dkilpat
3 years agoRegular Visitor
Report Builder And/Or Parameters
I need some help. I am needing a way to set parameters for a paginated report that are an OR situation. The example is a report that shows the invoices that were created or paid within a selected m...
Jon-Heide
Microsoft Employee
3 years agoYou can create a filter expression for that. Or, alternately do that in your query.
Add a filter to your table, and select the Fx button to add a custom filter expression.
In your expression, create one which does the OR comparsion based on both dates and returnes True/False. You'll probably need to use IIF() and date functions to write the expression you need. Here's a few related examples to get you started.
https://stackoverflow.com/questions/37615404/ssrs-iif-date-format-less-than-a-specified-date
https://social.technet.microsoft.com/wiki/contents/articles/32557.ssrs-date-time-expressions.aspx