Solved

SSRS set Parameter value

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
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.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

809 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