hhadjahmed Posted March 26, 2014 Share Posted March 26, 2014 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 sunday6 5 6 0 0 0 0New report :monday tuesday wednesday thursday friday saturday sunday6 5 6 2 0 0 0 I want to do that for performance reason. Thank you Link to comment Share on other sites More sharing options...
hozawa Posted March 26, 2014 Share Posted March 26, 2014 >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 columnThis 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now