title: Convert Week Diff to Start of Week Date SQL Server
body: <p>How can I convert all week diff column values to the start date of each week?</p>
  
  <p>Sample data: </p>
  
  <pre><code>Week Diff | Value
  1         | 20000
  2         | 30000
  3         | 40000
  </code></pre>
  
  <p>Expected results:</p>
  
  <pre><code>Week Diff | Value
  6/24/2018 | 20000
  6/17/2018 | 30000
  6/10/2018 | 40000
  </code></pre>
  
  <p>I've seen similar posts but I don't understand how to change solution for my needs. For example </p>
  
  <pre><code>declare @wk int  = week_diff
  select dateadd(week,@wk-1, DATEADD(wk, DATEDIFF(wk,-1,DATEADD(yy, DATEDIFF(yy,0,getdate()), 0)), 0))
  </code></pre>
  
  <p>Please advise.</p>