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

Tablix Filter Issue - I'm Stumped :(

$
0
0

I have a field in a dataset, At Risk, that will have 1 of 2 values: Yes or No.  I've created my report (2008 NOT R2) and want to be able to filter the data by this field.  User has 1 of 3 options: Yes, No, or All (Yes, No).  I started off basic and just ran the report with no filtering; it works great.  Next, I added the filter, used the IN Operator, and hard-coded the Value of:   Yes, No   into the Value area.  I ran the report and again, no issues at all.  Here's where the problem begins.  I created a parameter, @pAtRisk, gave it a default value of:     Yes, No    and changed the Value of the filter to use this parameter instead of the hard-coding, and for some reason, the report returns blank. If I change the default value of the parameter to be either Yes or No, the report works fine.  I've tried playing with different things - removing the space and having :     Yes,No    and that didn't work.  I can't understand why when I hard code this into the filter, it works fine, but when it gets passed in from a parameter, it doesn't.  Anybody have any ides?  I've tried to include a relevant screen print below.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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