Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Cascading parameter problem

$
0
0

I have a table in sql server with data.

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 cascade 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 selected "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 replys highly appriciated. 


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>