In query designer, the query parameter can be created in both design and query mode. The following sections describes the steps to create query parameters in design and query mode.
Refer Create Data section for better understanding with the following sections. The below image showcases the initial view of query designer.
Query Filters
dialog, in the query designer.
Refer Query filters section to learn more about query filters.
query parameter
.OK
button.
Once you save the dataset, an equivalent report parameters will be created under the PARAMETERS
panel like below.
switcher
in query designer toolbar, to switch to the query mode.
AdventureWorks
database, SalesOrderDetail
table for the Sales
schema.
WHERE
clause at the end of the query to create a query parameter.
WHERE (([Sales].[SalesOrderDetail].[SalesOrderID] = @SalesOrderID))
Finish
button, now the Parameters
dialog opens.
OK
.
Once you save the dataset, an equivalent report parameters will be created under the PARAMETERS
panel like below.