Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 second parameter based on first parameter

Author  Topic 

HenryFulmer
Posting Yak Master

110 Posts

Posted - 2011-12-05 : 09:23:07
I have created a sales report that uses 2 parameters to be selected by the user: @Date and @Group.
I have set up 2 datasets for each parameter.Is it possible to set it up that the result set of the second parameter uses the value that the user selects for the first parameter?

SELECT DISTINCT GroupName
FROM SalesSummary
WHERE SalesDate = @Date

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2011-12-05 : 09:45:08
Yes.
Search for: SSRS cascading parameter


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2011-12-05 : 12:04:41
http://thevirtualzoneblog.wordpress.com/2011/03/30/creating-cascading-parameter-reports-using-sql-server-reporting-services-v2008/

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -