?
Solved

SSRS set Parameter value

Posted on 2016-10-28
2
Medium Priority
?
300 Views
Last Modified: 2016-11-01
In SSRS I have cascading parameter report. I have 3 parameters which have multiple values for  example company , state , Products

When I select All for company it selects all the values for that parameter
Then I select all for States it selects all states
Then I select All for Products it selects all products
When I drop down and check company parameter I see that Select all and other parameters are selected
When I drop down and check State parameter I see that Select all is unchecked but all parameters are selected
When I drop down and check company parameter I see that Select all and other parameters are selected

What can I do to keep Select All option checked for states parameter.. I need select all checked because when I preview report I dont want to display all states .. I just want to show All as other parameters
0
Comment
Question by:Sriv
2 Comments
 
LVL 16

Accepted Solution

by:
Megan Brooks earned 2000 total points
ID: 41865532
If you provide the same list of values for Available Values and Default Values then normally the Select All checkbox will be checked. The exception is when the list of values contains one or more NULLs, which a multi-value parameter does not allow.

Does your State parameter available/default value dataset contain NULL values? If so, you need to either eliminate the rows with NULL values or change the NULLs to something else in the dataset query.

For more information, see Set Select All as Default for Multi-Value Report Parameters in SQL Server Reporting Services.
0
 

Author Closing Comment

by:Sriv
ID: 41868959
Thank you!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question