Cube: FPA
Dims: Scenario, Cost_Center, Project, Account_Business, Period, Year, Measures
Rule:
Code: Select all
[Scenario:'Cash Flow Forecast',Measures:'$fx'] = N:
IF ( ELISANC ( 'Account_Business' , 'BS Movements' , !Account_Business ) = 1,
DB('FPA',!Scenario,!Cost_Center,!Project,SUBST(!Account_Business,1,4),!Period,!Year,'$') -
DB('FPA',!Scenario,!Cost_Center,!Project,SUBST(!Account_Business,1,4),ATTRS('Period',!Period,'PeriodLast'),IF(!Period@='Jan',ATTRS('Year',!Year,'-1'),!Year),'$') -
DB('FPA',!Scenario,!Cost_Center,!Project,!Account_Business,!Period,!Year,'$')
,
CONTINUE
);
Code: Select all
['Scenario':'Cash Flow Forecast','Measures':'$'] => DB('FPA','Cash Flow Forecast',!Cost_Center,!Project,!Account_Business|'M',!Period,!Year,'$fx');