title: Synchronize Print When Expression & Text Field Expression
body: <p><strong>Background</strong></p>
  
  <p>The <strong>Totals</strong> section in the image below shows strange results for the <strong>Trend</strong> column. The text should be <strong>true</strong> when the value under the column named <em>Previous</em> equals the value under the column named <em>Current</em>.</p>
  
  <p><img src="https://i.imgur.com/77toK.png" /></p>
  
  <p><strong>Print When Expression &amp; Text Field Expression</strong></p>
  
  <p>The expressions are evaluated using identical code:</p>
  
  <pre><code>new java.lang.Boolean(
      $V{LAST_WEEK_TALLY_0}.add(
      $V{LAST_WEEK_TALLY_1} ).add(
      $V{LAST_WEEK_TALLY_2} ).add(
      $V{LAST_WEEK_TALLY_3} ).longValue() ==
      $V{THIS_WEEK_TALLY_0}.add(
      $V{THIS_WEEK_TALLY_1} ).add(
      $V{THIS_WEEK_TALLY_2} ).add(
      $V{THIS_WEEK_TALLY_3} ).longValue()
  )
  </code></pre>
  
  <p>The <em>Evalutation Time</em> for the Text Field is set to <em>Band</em>.</p>
  
  <p><strong>Problem</strong></p>
  
  <p>It appears as though the <em>Print When Expression</em> code is being evaluated for the values under the <em>Previous</em> and <em>Current</em> columns one row too late. The value being printed is correct for that row. This means that the evaluation time for <em>Print When Expression</em> and <em>Text Field Expression</em> are not evaluating at the same time.</p>
  
  <p><strong>Question</strong></p>
  
  <p>What do I need to do to make <em>Print When Expression</em> and <em>Text Field Expression</em> evaluate to the same result at the same time? This would then produce the word <strong>true</strong> for the <strong>Totals'</strong> <em>Trend</em> column whenever <em><code>Previous == Current</code></em>.</p>