on-internet
← Community

How return all records with blank multi-value parameter SSRS

Stack Overflow ·

I have a report with a multi-value parameter (Name: @ParaID) that is blank by default and has no available values. The user can enter one or more values to filter the returned data. That works fine with the query set up like: Select * from table1 where table1.ID in (@ParaID) Now I wanted to set up the query to allow the user to decide if he wants to enter a value (or more) or not. If he leaves the parameter empty the report should return all records. But I cannot figure out how to do that. I also tried to use a default value (here: %). But I will not get any records returned or the report does

Comments

Sign in or sign up to comment and upvote.

No comments yet.