Category: | Bug report |
Priority: | Normal |
Status: | Resolved |
Project: | Severity: | Major |
Resolution: | Fixed |
|
Component: | Reproducibility: | Always |
Assigned to: |
I have the problem that the crosstab prints the same column 2 time. But it should not be the same column. I have attached the pdf, the jrxml and jasper file.
Regards
Stef
4 Comments:
isDataPreSorted="true" requires that the data is presorted by a specific order as explained at http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/schema...
Are you sure your data is sorted accordingly? If that's not the case, the outcome is unspecified.
Regards,
Lucian
I looked into it. And it works if I set isDataPreSorted="false". But the order is right. The Problem is that there are sometimes 2 measures for one column for the same row-group.
Regards, Stef
I faced the similar issue and as confirmed by lucianc, it is a bug in Crosstab .... please check my post at:
http://community.jaspersoft.com/questions/800918/crosstab-data-sorting-i...
Also I have raised it as a bug on the tracker and reference to my tracker ticket is:
http://community.jaspersoft.com/ireport-designer/issues/2584
Hope it is helpful
Fixed at JR SVN trunk revision 6312, see http://community.jaspersoft.com/ireport-designer/issues/2584