We have a control cube where we want to populate the level 1 consolidation with a string value and automatically have the underlying leaf elements populated with the string value of their respective parents.
In the example, I want the three CCs populated with "Same" for Apr, May & June.
Current rule:
Code: Select all
FEEDSTRINGS;
['CtrlValue'] = S: IF(SUBST(DB('CtrlCube', !Region, 'CtrlValue'),1,4) @= 'Cost',
DB('CtrlCube', 'Region' | subst(DB('ctrlCube',!Region, !ctrlDim) 11,3) , 'CtrlValue'), CONTINUE);
Thanks,