TM1 CellSecurity Using isleaf & IF
Posted: Tue Nov 30, 2010 2:39 pm
Relatively new with TM1 and attempting to use for planning marketing results using top down established targets and bottoms up product line personnel entry which must equal the top assigned number. Created a cube with top targets and another for bottom up entry which will roll up to match the top number. The bottom up cube has the top number fed at the consolidated level so product personnel can see how close they are to accounting for their target. An additional 'gap' measure is calculated for the rolled up product value difference to the fed in top down target. To make it cleaner for product personnel entry use the gap measure so they can see, at the consolidate level, the difference between the accumulated product value against the top level target but they see all 0's at the product detail level which is just clutter. Since have lots of product lines and other dimensions do not want to manually update via the cell level security tool but instead want to have rules that, for the leaf level, sets access to the gap measure for product personnel to NONE which takes the gap value to grey (not zeros). The first attempted rule was:
[]=IF((ISLEAF=1),
IF((!}Groups @= 'ProductPersonnel'),
IF((!RevenueMeasure @= 'Revenue Gap'), 'NONE', 'READ'),
'STET'),
'STET');
When check this get "Syntax error on or before: (((ISLEAF=1), IF( missing colon". Also tried using and statements as follows with same colon error:
The second attempt was with and function below getting same colon error:
[]=IF(((ISLEAF=1) & (!}Groups @= 'ProductPersonel') & (!RevenueMeasure @= 'Revenue Gap')), 'NONE', 'READ'); .. gets error "Syntax error on or before: (((ISLEAF=1) & (!}Gr missing colon".
Think there is some syntax that cannot find in any other post or the doc. Any help on setting cellsecurity rules as attempted above or any other method is appreciated.
[]=IF((ISLEAF=1),
IF((!}Groups @= 'ProductPersonnel'),
IF((!RevenueMeasure @= 'Revenue Gap'), 'NONE', 'READ'),
'STET'),
'STET');
When check this get "Syntax error on or before: (((ISLEAF=1), IF( missing colon". Also tried using and statements as follows with same colon error:
The second attempt was with and function below getting same colon error:
[]=IF(((ISLEAF=1) & (!}Groups @= 'ProductPersonel') & (!RevenueMeasure @= 'Revenue Gap')), 'NONE', 'READ'); .. gets error "Syntax error on or before: (((ISLEAF=1) & (!}Gr missing colon".
Think there is some syntax that cannot find in any other post or the doc. Any help on setting cellsecurity rules as attempted above or any other method is appreciated.