1

Jaspersoft studio 6.2.

The report below, there are 3 bands: title, detail, and summary. Detail is in the middle. Look at "Activated staff" on the top on title band, it used a variable (activatedstaffcount1) as expression. The variable sum all activated staff counts in the detail. However it shows null. The bottom one is in the summary band and used the same variable but it shows correct number. The middle section is the data (detail band). I want to show aggregated result before the display data(detail band), how can I do it?

enter image description here

enter image description here

Alex K
  • 22,315
  • 19
  • 108
  • 236
thotwielder
  • 1,563
  • 7
  • 44
  • 83
  • Possible duplicate of [How can I show sum of columns in column header?](http://stackoverflow.com/questions/35264230/how-can-i-show-sum-of-columns-in-column-header) – Petter Friberg Apr 21 '16 at 07:51
  • I have purposed a duplicate where you can find an example that I did, check it out if it is what you need and let me know. – Petter Friberg Apr 21 '16 at 07:52

1 Answers1

1

Try to set also Evaluation time in the text field which contains that variable to the "Report".

If the text field is outside of the table - try to return value into the parameter back from dataset and display that parameter at the end of report evaluation.

Community
  • 1
  • 1
droben
  • 89
  • 8