Hello,
I'm new in report design (more experience in integrating and extending birt) so probably my question is a little bit naive. But still can't find an answer anywhere ...
I am building a report design where I need to have totals by page, for that I was following the tips in the following post
http://dev.eclipse.org/newslists/news.eclipse.birt/msg24641.html
The problem is that this uses Integer type and my data set column is decimal data type.
What should I use in the script instead of Integer?
importPackage( Packages.java.lang );
transport = transport + Integer.parseInt(this.getRowData().getColumnValue("GCLILI"));
(GCLILI is decimal)
I also need to have cumulative sum so agreggation does not solve my problem (i think), eg,
Total Page 1 = SUM(GCLILI) Pag1
Total Page 2 = Total Page 1 + SUM(GCLILI) Pag2
.....
Thanks in advance