Jasper reports 如何在iReport中减去交叉表报表中的连续列

Jasper reports 如何在iReport中减去交叉表报表中的连续列,jasper-reports,ireport,crosstab,Jasper Reports,Ireport,Crosstab,我在iReport中开发了一个交叉表报告。我想从连续的列值中减去值。我该怎么做 例如,如果交叉表报告显示以下内容: Jan Feb Salary 10000 20000 Basic 5000 10000 But I want to show it like: Jan Feb Salary 10000 10000 (Feb - Jan data) Basic 5000 5000 (Feb - Jan data)

我在iReport中开发了一个交叉表报告。我想从连续的列值中减去值。我该怎么做

例如,如果交叉表报告显示以下内容:

       Jan    Feb
Salary 10000  20000
Basic  5000   10000

But I want to show it like:

       Jan    Feb
Salary 10000  10000 (Feb - Jan data)
Basic  5000   5000  (Feb - Jan data)