title: How to print the grand total only in the last page of a very long report?
body: <p>How can I make the total paramater appear only on the last page of a report with lots of concepts.</p>
  
  <p>The report repeats istelf until the list of concepts is displayed in two or more pages. The total appears in all of them because the parameter (received as $PTotal) is on the footer of the page.</p>
  
  <p>I need this to be displayed only in the footer of the last page. It doesnt matter if I leave that space as blank, I just need the parameter to be displayed only at the last page.</p>
  
  <p>This is not a report composed of varios pages, it generates multiple pages until the list fits. Just to clarify.</p>
  
  <p><img src="https://i.stack.imgur.com/aJv4o.png" alt="enter image description here"></p>
  
  <p>How can I fix that parameter tag with a printWhenExpression tag?</p>