Update report instead of regenerate it ?

Hi,
I have a report that I must run every day.
So every time I generate it, Jasperserver compute the data of previous days (already calculated the last time report was generated) and add new informations for the current date in an other column.
My question is, can I make a report that already generated (yesterday) and generate only new information and merge the 2 documents ? 

Example : 
Yesterday report : 
monday tuesday wednesday thursday friday saturday sunday
6                  5                 6                 0            0          0               0

New report :

monday tuesday wednesday thursday friday saturday sunday

6                  5               6                   2           0             0            0

 

I want to do that for performance reason.
 

Thank you

hhadjahmed's picture
Joined: Mar 24 2014 - 2:57am
Last seen: 7 years 6 months ago

1 Answer:

>Jasperserver compute the data of previous days (already calculated the last time report was generated) and add new informations for the current date in an other column

This is probably where you problem is. You're making Jasperserver compute while the computation should be done in your business logic layer. JasperReports should be used in a presentation layer.

You can use something like Jaspersoft ETL and do the computation to add today's data into the datasource table which will be used to display the report.

 

hozawa's picture
176813
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 11 months ago
Feedback
randomness