How to calculate the amount in total with different currency ? - InfoPath Dev
in

InfoPath Dev

How to calculate the amount in total with different currency ?

Last post 01-15-2016 01:13 PM by Kaoru Okumura. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-16-2015 12:23 AM

    How to calculate the amount in total with different currency ?

    Dear all,

    I have a question in terms of How to calculate the amount of different fields into one ?

    Please see the screenshot below. I can choose between two curreny : Euro and USD.

    Now I want each field with the currency of Euro or USD to show up in "4. Expenses in total" next to the field Euro or USD.

    Example :

    Name : Chris; Curreny : Euro; Amount : 100

    Name : Jeff; Currency : Euro; Amount : 125

    Name : Dan; Currency : USD; Amount : 200

    Name : Jenny; Currency: USD; Amount 150

    Then :

    Accommodation : Currency : USD; Amount : 255

    Meal : Curreny : Euro; Amount : 120

    Transportation : Currency : USD; Amount : 50

     

    4. Expenses in total (based on the example above)

    Euro : 345

    USD : 655

    How can I manage that ? Do I need to use rules ? 

     

    Thanks a lot for any help !

    Best regards,

    Chris

  • 01-15-2016 01:13 PM In reply to

    Re: How to calculate the amount in total with different currency ?

    Hi, filtering the amount with Currency would work.

    1. Assuming that you can have field EuroTotal, open default value for EuroTotal

    2.  Select Sum from Insert Function

    3. Inset field Amount. then click "Filter Data"

    4. set filter as Currency = Euro

    Though, in case the Expense in total is repeating table, and you really need to calculate any currency in the expense item, we need to adopt a bit more complex approach. thanks,  

     

     

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.