title: TSQL - dynamic Pivot on multiple columns
body: <p>In below screenshot you see my source and desired output table.</p>
  
  <p>I cannot hardcode the columns "Product", "Year" or "Measure" as they can grow dynamically. Columns "1", "2" and so on represent a month, which can be hardcoded.</p>
  
  <p><a href="https://i.stack.imgur.com/3WIjJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3WIjJ.png" alt="enter image description here"></a></p>
  
  <p>I would be happy if you could show me a dynamic query or point me to a similar solution.</p>
  
  <p>Here is a <a href="http://sqlfiddle.com/#!18/82bb4/5" rel="nofollow noreferrer">Fiddle</a> of the source.</p>
  
  <p>Thank you.</p>