Hi all,
I need to conduct variance analysis on some financials including the impact of changes in fx rates. The variance calculation is:
Actual Revenue_Base Currency - (Actual Revenue_Local Currency / Budget Fx Rate)
This is fine when there is only 2 currencies, however, in my data there is 10 different currencies and as a result the above calculation needs to be done at an individual row level and then 'summed up'. To do this, I used SUMX e.g.
SUMX(Table, Actual Revenue_Base Currency) - (SUMX(Table, Actual Revenue_Local Currency) / (SUMX(Table, Budget Revenue_Local Currency)/SUMX(Table, Budget Revenue_Base Currency))
Results are correct at an individual currency level, however, the total is completey wrong as it appears that for the grand total is recalculating the variance as opposed to 'summing up' the individual parts. A simple example is below, would appreciate any help. Thanks,
Dan
Version | Region | Total Sales Local Currency | Total Sales Base Currency | Fx Rate | Fx Var | |
Budget | USA | 600 | 1000 | 0.60 | ||
Budget | EUR | 500 | 950 | 0.53 | ||
Actual | USA | 400 | 800 | 0.50 | $133.33 | -$186.67 |
Actual | EUR | 800 | 1200 | 0.67 | -$320.00 | |
Budget | Summed | 1100 | 1950 | 0.56 | ||
Actual | Summed | 900 | 1750 | 0.51 | $154.55 |