Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top