duplicate value in jaspersoft studio

Hello, I need to display the total amount of the column in the Title bands in the report, but when I use it in the form of SUM($F{Opl}) or $V{SumOpl2}, then my value is equal to the first row of the column or null . how do i display the sum of the column in title ?

deadsploid's picture
Joined: Nov 9 2022 - 1:06am
Last seen: 1 week 1 day ago

Hello, after clicking on the desired function, a "Properties" panel appears in the lower right corner. I'll attach a screenshot in my comment for better understanding.

deadsploid - 5 months 13 hours ago

We are delighted to know that you have found the answer to your question. Thank you for taking the time to post it on the Jaspersoft Community platform.

mrajkuma - 4 months 3 weeks ago

1 Answer:

If anyone else encounters this problem, then here is the solution:
1. click on the TextField you need
2. After the "Properties" tab appears, go to the "Advanced" tab
3. Find the line "Evaluation Time" in the "TextField Properties" section at the bottom and change its value to "Report"

 

Attachments: 
AttachmentSize
Image icon rep.png39.67 KB
deadsploid's picture
Joined: Nov 9 2022 - 1:06am
Last seen: 1 week 1 day ago
Feedback
randomness