- Create your shared dataset. You probably don't want default values specified here but you can if you want to share these defaults across the reports.
- Use the syntax @name to put a parameter into your SQL as you would do in the normal dataset.
- If your dataset allows null parameters, these need to be declared in the shared dataset, not just in the report parameters. You can do this in the parameters tab for the shared dataset.
- Modify your report dataset and click the radio button, "use a shared dataset" and select your shared dataset. The fields for the shared dataset will appear in the Report Data window in just the same way as if the dataset was local to the report. If you cannot see the Report Data window, it is under the View menu (right at the bottom of my menu) and is also hot key Ctrl-Alt-D by default.
- For your parameters, double-click the dataset in the Report Data window and clicking the Parameters tab, assign your report parameters to the dataset parameters. Mine tend to have the same name so @EventId is mapped to [@EventId]
- If you need to, change the report parameters (under the Parameters section of the Report Data window) to set defaults, selection sets, nulls etc. It is these that will define what the user can see/set when they run the report.
I think that's it.