| Summary: | "Bottom n" and "Greater than" filters on same crosstab group level results in runtime exception | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Kevin Rahe <KevinR> | ||||||
| Component: | BIRT | Assignee: | Lin Zhu <lzhu> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Xiaoying Gu <bluesoldier> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bluesoldier | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 3.7.1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Kevin Rahe
Created attachment 198441 [details]
Sample report in which the problem is manifested
Created attachment 198442 [details]
Exception logged by a different report with the same problem
While there are other issues with defining multiple filters on the same group level in the same crosstab, such as the inability to control the order in which they're applied (suggested enhancement there), doing so shouldn't result in an exception despite any other caveats. This problem exists in BIRT 3.6.1 I have found a workaround until this problem is fixed. Instead of referring to the derived column in the formula for the "Bottom n" filter, reuse the formula that computes the derived column's value as the filter's formula (in the attached sample that would mean replacing 'data["HALFEXTPRICE"]' with 'data["EXTPRICE_Order/ORDERNUMBER"] / 2'). This will avoid the exception. (Though it still won't provide any control over the order in which filters are applied, which I would still suggest as an enhancement.) Thank you for the detailed info.The bug is fixed in latest build. |