title: Alteryx WorkFlow for deleting column values from different rows based on certain column conditions
body: <p>Hi I have a data table like this</p>
  
  <pre><code>    Group  CODE Quantity Value FLAG
  
       A      AP    10      100    1
       A      AM    10      200    1
       A      AP    03       50    2
       B      AM    50      150    2
  </code></pre>
  
  <ol>
  <li>I want to check if the column values for GROUP &amp; CODE are equal &amp; FLAG values are different, Then i want to subract Value with FLAG 1 to Value with Flag 2 and update it to new column as Delta. </li>
  <li>If there exist no match with the column values for Group &amp; Code then just update "0" to new Column as Delta.</li>
  </ol>
  
  <p>The output data will look like this</p>
  
  <pre><code>    Group  CODE Quantity Value FLAG Delta
  
       A      AP    10      100    1    50
       A      AM    10      200    1     0
       A      AP    03       50    2     0
       B      AM    50      150    2     0
  </code></pre>
  
  <p>I would like to do this in Alteryx. Thanks for your support &amp; Help   </p>