chevyimpala
Programmer
Why would this calculation give me a total of two columns instead of a single sum:
Unreal: IIf([Current Pos]=0,0,Sum(IIf([Curr]="EUR" Or [Curr]="GBP",[Size]*-1*[Rate]+([Size]*[Revalrate]),IIf([Curr]="CHF" Or [Curr]="JPY",[Size]*-1/[Rate]+([Size]/[Revalrate]),IIf([Curr]="EUR/JPY" Or [Curr]="EUR/GBP",[Size]*([Revalrate]-[Rate])/[Rate])))))
help
Unreal: IIf([Current Pos]=0,0,Sum(IIf([Curr]="EUR" Or [Curr]="GBP",[Size]*-1*[Rate]+([Size]*[Revalrate]),IIf([Curr]="CHF" Or [Curr]="JPY",[Size]*-1/[Rate]+([Size]/[Revalrate]),IIf([Curr]="EUR/JPY" Or [Curr]="EUR/GBP",[Size]*([Revalrate]-[Rate])/[Rate])))))
help