title: How to calculate the percentage of two dynamic columns values in Report Builder?
body: <p>I have two columns 2016 and 2015 representing the years from the Year column. Each of these years has values for example: </p>
  
  <p><a href="https://i.stack.imgur.com/ieqpV.png" rel="nofollow"><img src="https://i.stack.imgur.com/ieqpV.png" alt="enter image description here"></a></p>
  
  <p>The columns(2016 , 2015) are generated dynamically. I want to calculate the percentage by taking value of 2016 and dividing it through the value of 2015. Now the question is, how can I get to the values? I tried to do it through this expression, but It is not working properly. </p>
  
  <p>Expression :</p>
  
  <pre><code>=IIF(Fields!Year.Value="2016",Fields!Amount.Value,0)/
  IIF(Fields!Year.Value="2015",Fields!Amount.Value,0)
  </code></pre>