Hi aravindt46,
Based on your description, your parameter list is too long to select one available value. You want to input some keyword, and then all of available values which are begin with the keyword will display in the parameter list. So, we can create cascading parameters.
One is a keyword parameter, and the other parameter is based on the keyword to display available values.
For example, I have a dataset is named DataSet1 and within an EnglishProductCategoryName field which is select from a DimProductCategory table. In order to achieve this, please refer to the steps below:
1. Add a parameter, input “keyword” in both “Name” and “Prompt” properties, and then click OK.
2. Add another parameter, and then input “Category” in both “Name” and “Prompt” properties. In the left pane, select Available Values, and then select “Get values from a query” option. Set the Dataset, Value
field and Label field like this:
Dataset
|
Value field
|
Label field
|
DataSet1
|
EnglishProductCategoryName
|
EnglishProductCategoryName
|
3. Right-click DataSet1, select Dataset Properties. Set the Query like this:
SELECT EnglishProductCategoryName
FROM DimProductCategory
WHERE (EnglishProductCategoryName LIKE @keyword + N'%')
After previewed the report, if we input “A” in the keyword parameter text box, begin with “A” EnglishProductCategoryName will display in the Category parameter list.
For more information about cascading parameters, please refer to the article below:
http://msdn.microsoft.com/en-us/library/aa337169.aspx
Best Regards,
Bin Long
-
Marked as answer by
aravind T
Wednesday, April 20, 2011 10:05 PM