title: SSRS Subscription Paramter for Second dataset not updating
body: <p>I'm running into an issue with an SSRS subscription report that I built. Basically I have 2 datasets and 1 parameter that gets fed to both of them called @ReportDate. </p>
  
  <p><a href="https://i.stack.imgur.com/yxxaw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yxxaw.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/ax1Hc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ax1Hc.png" alt="enter image description here"></a></p>
  
  <p>@ReportDate has a default value =Today(). When the report runs every morning and gets emailed out by the subscription, dataset1 always gets updated information with today's date and works fine, however dataset2 always returns data for the previous date that the report successfully ran. So it's like the parameter isn't feeding the updated value through to that dataset, which is odd because both datasets use the same parameter. When I go to troubleshoot the problem and run the report dataset2 will then come back with data for todays date so I can't replicate the issue. Am I doing something wrong? I'm using SSRS 2008 r2. Thanks for your help.</p>
  
  <p>Edit: Found the problem. Both datasets shared the same datasource which means the datasets run in parallel, not in the order which I see in report builder. Dataset2's data is dependent on a table which get's populated during the execution of dataset1. Dataset2 was finishing before dataset1, thus it wasn't picking up current days data. I updated a setting on the datasource to make it so that the datasets run 1 at a time in the order in which they're shown in report builder. The setting I changed was checking a check box in the datasource properties called "Use single transaction when processing the queries".</p>