Solved

SSRS set Parameter value

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
OSQL to execute sql command 26 24
SQL Server 2012 Lag Function With Group Levels 1 26
sql server query 12 25
SQLCMD Output to file from xpcmd_shell 6 15
It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only see…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

840 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