Question

I need to create a derived column in a jasperreport crosstab e.g.

Region   | Type 01 | Type 02 | Derived Measure
zone 1   | Sum     | Sum     | Type 01 / Type 02 ( only in zone 1)
zone 2   | Sum     | Sum     | Type 01 / Type 02 ( only in zone 2)

Any ideas?

Was it helpful?

Solution

Cross tab fills the data at the time of report execution. So it is not possible to find more calculations on already calculated on filled values rather you need to define the Type01/Type02 with in your SQL query so that you can another measure.

Thanks, Sadakar

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top