title: Power Query showing error with IF logic (Token Eof expected error)
body: <p>I'm creating a custom column. What I want is a 1 if the string in another column says &quot;Positive&quot;, else a 0.</p>
  <p>Ideally, it should look like something like this:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>id</th>
  <th>Sentiment</th>
  <th>Positive Tag</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>1</td>
  <td>Positive</td>
  <td>1</td>
  </tr>
  <tr>
  <td>2</td>
  <td>Neutral</td>
  <td>0</td>
  </tr>
  <tr>
  <td>3</td>
  <td>Negative</td>
  <td>0</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>Here's where I'm running into a problem. An error is coming up in my logic:</p>
  <p>Code sample : Positive Tag = IF [Sentiment] = &quot;Positive&quot; then 1 else 0</p>
  <p><img src="https://i.stack.imgur.com/MNJZH.png" alt="Attempt 1" /></p>
  <p><img src="https://i.stack.imgur.com/ui46z.png" alt="Attempt 2" /></p>