title: SSRS - Using IF Condition in a Dataset
body: <p>I have a table structure in place. But, the data I push into this data varies depending upon a input</p>
  
  <pre><code>Input A - Query X 
  
  Input B - Query Y
  </code></pre>
  
  <p>In order to achieve this, I was thinking, I will put in a IF Condition in the dataset and have it direct to "Query X" or "Query Y" based on the "Input". </p>
  
  <p>I tried this,</p>
  
  <pre><code>IF(Input=='Hello')
  (
  ...
  )
  </code></pre>
  
  <p>But, this threw an error. Can you help me on how to proceed here? Is there a better way I can achieve my req.?</p>