I have two suggestions, not sure if either will work:
1. Using summation from iReport
Assuming you are using cross table, there is a feature to sum the total on the row or on the column. Make Previous Total, equal to the number of Previous Totals, and same goes for Current Total.
Then in Trend column, write an expression like Current_Value - Previous_value ==0
2. Find the sums in Query
This is the more robust solution, maybe a little more complicated though. I usually don't rely much on iReport, and always give it ready data.
If you generate your report data in Java, it will be easy to fill in all the values before calling the report.