Solved

SSRS set Parameter value

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

Accepted Solution

by:
Megan Brooks earned 500 total points
Comment Utility
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
Comment Utility
Thank you!
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

762 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

6 Experts available now in Live!

Get 1:1 Help Now