Solved

SSRS set Parameter value

Posted on 2016-10-28
2
48 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 14

Accepted Solution

by:
Megan Brooks earned 500 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

919 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now