Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Formula - Expression - If Statement

$
0
0
Hi,

i am trying to write the below If statement in the formula step and i get invalid argument error. can you please validate and let me know what i am doing wrong here? Thanks for your help

IF ([FROM_CURRENCY_CODE]= "USD"; [LOCAL_CCY_CODE] ;
IF ([FROM_CURRENCY_CODE] = "EUR" ; IF ([LOCAL_CCY_CODE] = "USD" ; "EUR"; [LOCAL_CCY_CODE]) ;
IF ([FROM_CURRENCY_CODE] = "GBP" ; IF ([LOCAL_CCY_CODE] = "USD" ; "GBP" ; IF ([LOCAL_CCY_CODE] = "EUR" ; "GBP" ; [LOCAL_CCY_CODE] ) )
;[FROM_CURRENCY_CODE] )))

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>