Rule Issue
Posted: Sat Sep 24, 2011 7:45 am
I have built a revenue planning cube where users enter qty and a rule calculates the value based on pricing. The Reporting currency is EUR but Users will plan at local currency ie USD GBP or EUR. I need to write a rule that will convert the local currency to Eur if the currency is not Eur This is where I have got to so far:
['Value', 'Eur'] = N: IF ((!BMR Plan - Currencies) @= 'GBP', (DB('BMR Plan - Revenue', !BMR Sales - Companies, !BMR Sales - Division, !BMR Plan - Currencies, !BMR Plan - Scenarios, !BMR Plan - Transaction Types, !BMR Sales - GRG Summary, !BMR Plan - Date Summary, !BMR Sales - Customers, !BMR Sales - Products, 'Value') / 1.35), STET);
But it is not working any help would be appreciated.
['Value', 'Eur'] = N: IF ((!BMR Plan - Currencies) @= 'GBP', (DB('BMR Plan - Revenue', !BMR Sales - Companies, !BMR Sales - Division, !BMR Plan - Currencies, !BMR Plan - Scenarios, !BMR Plan - Transaction Types, !BMR Sales - GRG Summary, !BMR Plan - Date Summary, !BMR Sales - Customers, !BMR Sales - Products, 'Value') / 1.35), STET);
But it is not working any help would be appreciated.