SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 Cascading parameter problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

satish.pavuluri
Starting Member

India
2 Posts

Posted - 06/13/2013 :  01:33:22  Show Profile  Reply with Quote
I have a table in sql server with data.

create table test(col1 varchar(10),col2 varchar(10))
insert into test values ('Area','v1')
insert into test values ('System','v1')
insert into test values ('System','v2')

select * from test


Table look like bellow.

Table name: test
________________
| col1 | col2 |
________________
|Area | v1 |
|System | v1 |
|System | v2 |
| |
_______________


I have a report in ssrs with two parameters.

One parameter is "para1" which has values with Dataset query is
select distinct col1 from test;
Note: this parameter is not multivalued parameter.

Second parameter is "para2" which is cas cade and multivalued parameter with dataset query is
select distinct col2 from test where col1 in (@para1)



I have executed the report by selecting "Area" in para1 and "v1" in para2.
After execution i have again select "System" in para1 in first drop down. But para2 is automatically selecting "v1", Because previous
execution we have selected this "v1".




But my requirement is When we select "system" in first parameter as like above, it should not select "v1" in second drop down..!


Note: I have not set any default values in any parameter.

Any reply's highly appreciated.



satish

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 06/13/2013 :  02:05:44  Show Profile  Reply with Quote
when you change the value in first parameter is it refreshing the report?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

satish.pavuluri
Starting Member

India
2 Posts

Posted - 06/13/2013 :  05:17:25  Show Profile  Reply with Quote
Refreshing but value "v1" was in selected mode.

satish
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52325 Posts

Posted - 06/13/2013 :  05:25:23  Show Profile  Reply with Quote
quote:
Originally posted by satish.pavuluri

Refreshing but value "v1" was in selected mode.

satish


So you want it to remain as no values selected once you change it to System?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs

Edited by - visakh16 on 06/13/2013 05:27:07
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000