title: BI Publisher in Word SUM
body: <p>Please note the following data:</p>
  
  <ul>
  <li><p>COMP - 416.00</p></li>
  <li><p>DEVC - 16.00</p></li>
  <li><p>DEVE - 32.00</p></li>
  <li><p>ELEC - 64.00</p></li>
  <li><p>YCL - 32.00</p></li>
  </ul>
  
  <p>In Word I created a field with the following properties:</p>
  
  <pre><code>&lt;?for-each:SSR_AIR_PARM?&gt;&lt;?if:SSR_ENRL_CAT!='DEVC'?&gt;&lt;?if:SSR_ENRL_CAT!='DEVE'?&gt;&lt;?MIN_UNITS_REQD?&gt;&lt;?end if?&gt;&lt;?end if?&gt;&lt;?end for-each?&gt;
  </code></pre>
  
  <p>It gives the correct:</p>
  
  <ul>
  <li>416</li>
  <li>64</li>
  <li>32</li>
  </ul>
  
  <p>How do I sum that instead of putting out the three values?</p>
  
  <p>ie. <code>&lt;?sum( 416, 64, 32 )?&gt;</code></p>