Jump to content
We've recently updated our Privacy Statement, available here ×

Conditional expressions?


elmoualh

Recommended Posts

Hello every one. I'm new to iReport. I am trying to generate a report that has this structure :

The fields retreived from database :

  • P_AMOUNT
  • P_CURRENCY

and basicaly, I am asked to sum the values within a criteria, Currency. I have USD, and EUR as currencies, and the AMOUNT is in one of the two currencies I mentioned.

I created 2 variables in my Report called : USD_TOTAL and EUR_TOTAL, but I don't know how can I write an expression for those varaibles tocalculate the 2 sums. Can you please help me?

It's really urgent.

thx in advance

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...