I'm really new to Rules and Feeders. I've tried to a write a rule in my I/S Variance cube, which is pulling numbers from Expense Variance cube.
Here's the rule I wrote:
Code: Select all
[{'4757','4950','5910','5920','5930','6050','6060'},'Currency Var',{'3066','1616','1670','2073','2074','3212','3239','Other Adjustment'}] = N:
IF(!Reporting Currency@='RC USD',
IF(!Entity @= 'Other Adjustment',
DB('Expense Variance',!Year,!Budget Period,'RC USD',IF(!Income Statement Account@='4757','Distribution',
IF(!Income Statement Account@='4950','FME',
IF(!Income Statement Account@='5910','MBBF - 5910',
IF(!Income Statement Account@='5920','MBBF - 5920',
IF(!Income Statement Account@='5930','MBBF - 5930',
IF(!Income Statement Account@='6050','G&A',
'R&D'
))))))
,'Adjustment','Currency Var',!Month)
,DB('Expense Variance',!Year,!Budget Period,'RC USD',IF(!Income Statement Account@='4757',!Entity | ' Distribution',
IF(!Income Statement Account@='4950',!Entity | ' FME',
IF(!Income Statement Account@='5910',!Entity | ' MBBF - 5910',
IF(!Income Statement Account@='5920',!Entity | ' MBBF - 5920',
IF(!Income Statement Account@='5930',!Entity | ' MBBF - 5930',
IF(!Income Statement Account@='6050',!Entity | ' G&A',
!Entity | ' R&D'
))))))
,'All Expense Accounts','Currency Var',!Month)
),
CONTINUE
);
Sorry if I'm asking too much.