HiI have two simple reporting services reports: One is a summary table showing upcoming sales calls by sales area and day. In this table/report the first column lists areas and the following columns showing the total number of sales calls scheduled for the next 14 days. The other table shows details of these calls and has two parameters @Area, and @Days. The detail table acts as a drill-down - A TextBox expression in the 'Summary Report' has an action which 'Goes To' the Detail Report passing in the appropriate values for @Area and @Days based on what values the user clicked on.My problem is that I want to provide users with the option of just selecting an area (the first column in the summary table), and so where my dataset query for the detail report looks like this: 'WHERE SalesArea = @pmArea AND Days = @pmDays'. I want it to accept the @pmArea value but use a wildcard for the Days value i.e. 'AND Days like '%'.What is the best way to achieve this please? I've tried lots of things such as using '*' as a default value for the @pmDays parameter, and I've tried expressions in the parameter values for the dataset parameters e.g. =IIF(ISNOTHING(Parameters!pmSales.Value),'*',Parameters!pmSales.Value). But I'm not getting anywhere. Am I approaching this in the right way and does anyone have any suggestions for how I can achieve this?Thanks in advanceAdrian
↧