- Select a SQL data source (date parameters can be applied also to other datasource but the procedure might slightly change)

- Create the query you wish (without date parameters). You can use the drag & drop feature or write the query by your own.

- Create two variables of type date to store the start and end date