1. Select a SQL data source (date parameters can be applied also to other datasource but the procedure might slightly change)
  2. Create the query you wish (without date parameters). You can use the drag & drop feature or write the query by your own.
  3. Create two variables of type date to store the start and end date